Search code examples
tizentizen-web-apptizen-native-apptizen-emulator

How do I deploy a Tizen application to the Tizen emulator?


I see Tizen has the Smart Development Bridge (sdb, similar to adb for Android), but it doesn't have an 'install' command as the Android Debug Bridge has on Android.

Can someone give me the steps to deploy/execute a Tizen application on the Tizen emulator?

I want to be able to do this outside of the Tizen development environment (these steps are required by QA).


Solution

  • For web applications (widgets:

    sdb push app.wgt /tmp/Application.wgt
    sdb shell wrt-installer -i /tmp/Application.wgt
    

    For widgets using Command Line Interface tools web-install::

    web-install -w Application.wgt -i application_uri_id.org
    

    or using webtizen:

    webtizen install -w Application.wgt -i application_uri_id.org
    

    For native packages:

    sdb push your.tpk /opt/apps/PKGS/Application.tpk
    sdb shell pkgcmd -q -i -t tpk -p /opt/apps/PKGS/Application.tpk
    

    For native using Command Line Interface tools native-install:

    native-install -p your.tpk
    

    using sdb:

    sdb install /home/user/your.tpk