Question
I would like to use a preloaded app from Tizen source as a template, specifically the Calculator app available at: https://review.tizen.org/git/?p=apps/native/preloaded/Calculator.git;a=tree;h=refs/heads/tizen;hb=refs/heads/tizen
Could someone please share simple steps to build this app? If possible, this could serve as a reference/template for my own projects.
Answer
Problem Understanding
The user wants to build a Tizen preloaded application (Calculator) from the source repository to use as a template for their own project. The main challenges are:
- The downloaded project structure doesn't match standard Tizen Studio projects
- The build system uses different configuration files (CMakeLists.txt instead of typical Tizen project files)
Solution Methods
-
Using GBS (Git Build System)
- Install GBS following the official documentation
- Clone the repository:
git clone https://review.tizen.org/git/apps/native/preloaded/Calculator.git - Navigate to the project directory and run:
gbs build -A armv7l - The built package will be available in the local repository
-
Manual Conversion for Tizen Studio
- Download the source code as a ZIP file (using the snapshot button)
- Create a new Native Application project in Tizen Studio
- Copy the source files to your new project
- Update the manifest file (rename to TizenManifest.xml if needed)
- Configure CMakeLists.txt or convert to Tizen Studio project format
Additional Tips
- For GBS build, refer to these resources:
- GBS installation guide: Samsung Tizen OS Documentation
- GBS build tutorial videos:
- Installation: YouTube Link
- Build process: YouTube Link
- When converting to Tizen Studio project, pay attention to:
- Proper file structure organization
- Correct manifest configuration
- Dependency management