DISTRIBUTION OF TIZEN-BASED WATCH APPS HAS BEEN DISCONTINUED

Deploying and Running Your Application

To run the application, you must first deploy it to the target: either a device or an emulator. Deploying means transferring the package file (.tpk) to the target and invoking the Tizen package manager to install it.

To deploy and run the application on the emulator:

  1. In the Visual Studio menu, select Tools > Tizen > Tizen Emulator Manager.

    Alternatively, click Launch Tizen Emulator in the Visual Studio toolbar to launch the Tizen Emulator Manager.

  2. In the Emulator Manager, select an emulator from the list and click Launch.

    If no applicable emulator instance exists, create one.

  3. Once you launch an emulator instance, you can deploy the application by clicking the emulator instance in the Visual Studio toolbar.

    In the Visual Studio toolbar, you can select the target from the drop-down list to change the deployment target.

  4. If deployment is successful, the application icon is visible on the emulator or device screen. Click the icon to launch the application. The following figure shows the launched application on the wearable emulator:

Visual Studio uses the Smart Development Bridge (SDB) to communicate with the target device or emulator. If you encounter problems with detecting the device in Visual Studio, you can check the SDB manually:

  1. In the Visual Studio menu, select Tools > Tizen > Tizen Sdb Command Prompt.

  2. In the command prompt, enter sdb devices

    A list of the attached devices appears.

If you face any issues during deployment, it is recommended to manually install the application using SDB:

  • Wearable application:

    
        $ sdb install <path-to-package >/org.tizen.example.CrossTemplate1.Tizen.Wearable-1.0.0.tpk