Native App Development Workflow
This page outlines the steps to develop native apps for webOS Open Source Edition (OSE).
Downloadable Native Apps
Developing a downloadable native app requires the following steps:
Implement
- Writing the native app code
Configure
- Configuring the app metadata file (
appinfo.json
) - Configuring the CMake build script (
CMakeLists.txt
)
- Configuring the app metadata file (
Build
- Running the CMake build script and the Makefile
Package
- Packaging the built binary file using the CLI
Install and launch
- Installing the app on the target using the CLI
- Launching the app
For a step-by-step tutorial with detailed instructions, see Developing Downloadable Native Apps.
Built-in Native Apps
Developing a built-in native app requires the following steps:
Implement
- Writing the native app code
- Preparing
README.md
that describes the project
Configure
- Configuring the app metadata file (
appinfo.json
) - Configuring the qmake project file (
<native_app_name>.pro
)
- Configuring the app metadata file (
Build
- Writing a recipe to build the app on the Yocto build environment
- Configuring the local source directory
- Building the app
Run and verify
- Installing and running the app on the target
- Verifying the app functionality
Deploy
- Adding the app to the webOS OSE build recipe
- Building the webOS OSE image
- Flashing the image to the target
For a step-by-step tutorial with detailed instructions, see Developing Built-in Native Apps.