Languages

Menu
Sites
Language
Tizen application contribution

Hai all

How to develop application at framework level and is there any possibility  of doing this at framework level

Responses

2 Replies
Arup Sarker

https://source.tizen.org/documentation/developer-guide/getting-started-guide/building-packages-locally-gbsI am guessing you want to create private API for your application or want to contribute in Tizen platform.

1. Creating Framework Library
    You can develop static or shared library in Tizen 2.4 SDK.
    1.1 New->Project->Tizen Native Project ->Select Template Shared/Static Library->Finish 
    1.2 Make change according to you requirement.
    1.3 Build Shared/ Library Project
    1.4 For shared library output will be libsharedlibrary.so and for static library output will be libsharedlibrary.a
You can add those library into any application.

2. Contributing in Tizen Platform
Anyone can contribute to Tizen Open Source Platform. For that, need to know about platform build.

Prerequisite:
    - Knowledge about Platform Build.
    - Gerrit access as a platform developer.
    - Git Version Control System.
At first you have to clone particular module or framework code from gerrit. Then build and make change according to your Idea. After that submit patch for review.
If there is no side effect and changes have good reflection in output, then code will merge to development branch.
Check Details in the following link: https://source.tizen.org/documentation/developer-guide/getting-started-guide/contributing-code-tizen
 
2.1 Tizen Platform Build Steps:
    2.1.1 Settings Development Environment
        Please check the below link in details for settings development environment. I have done it in Ubuntu 14.04. Other OS will support Tizen platform as well.
       https://source.tizen.org/documentation/developer-guide/environment-setup
    
    2.1.2 Installing development tools
        Please check the bellow link for installing development tool. In that link, Ubuntu_12.10 is used. Replace by Ubuntu_14.04.
        https://source.tizen.org/documentation/developer-guide/getting-started-guide/installing-development-tools
    
    2.1.3 Cloning Tizen Source
        Please check the below link for cloning source. As you want to develop framework or contribute to specific module,
        check the part- Cloning Specific Project over SSH. If you want to clone full project, then my suggestion will be Tizen 3.0. Because all Tizen based commercialized device are based on Tizen 2.3 or Tizen 2.4 and most apis are compatible with Tizen3.0. Moreover, Tizen3.0 can be easily flashed to Raspberry Pie board.
        https://source.tizen.org/documentation/developer-guide/getting-started-guide/cloning-tizen-source
    
    2.1.4 Building Packages Locally with GBS
        As you are building packages locally via command line, you need to resolve all dependencies package with your framework. For that you need repository url and .gbs.conf file. Sample .gbs.conf and other building information is described in below link.
       https://source.tizen.org/documentation/developer-guide/getting-started-guide/building-packages-locally-gbs

2.2 Flashing packages to device using SDB
    Connect the device and run
        $ sdb devices
    If sdb is not installed, then install
        $ sudo apt-get install sdb
    List of devices attached
        0shrgr0173-26101 device test_tizen_myown_new
        $ sdb root on
        $ sdb push your_module_output.rpm /home/developer/
    Will push the rpm under /home/developer
        $ sdb shell
    Will launch shell
    Install rpms via shell
        $ change-booting-mode.sh --update
        $ pkgcmd -i -t rpm -p /home/developer/your_module_output.rpm
    If you want to flash full platform image to RD-210 device, please check below link
   https://source.tizen.org/documentation/developer-guide/getting-started-guide/creating-tizen-images-mic
    

Arup Sarker

Hi please ignor first url, it was added mistakenly.