Getting started developing with Tizen

In this topic, you will learn how you can launch your apps and start developing with Tizen Studio.

Prerequisites

  • Tizen Studio: Ensure you have Tizen Studio installed on your system. You can download it from here.

Installing Additional SDK Extensions

Folow these steps to install some additional SDK extensions for TV app development.

  1. Open the Tizen Package Manager:

    • Launch the Tizen Studio.
    • Navigate to Tools > Package Manager.
  2. Install TV Extensions:

    • In the Package Manager, navigate to the Extension SDK tab.
    • Look for:
      • TV Extensions
      • TV Extensions Tools
      • Samsung Certificate extension
    • Install

Create Certificates

Before you can run your application on a Tizen device, you need to create a certificate profile. Follow these steps:

  1. Launch Tizen Studio.

  2. Navigate to Tools > Certificate Manager.

  3. Create a new certificate profile. According to the Tizen policy, all applications must be signed with valid certificates before they can be installed or run. The signature verifies the source of the application and makes sure it has not been tampered with since its publication. Detailed instructions can be found here.

Launching the Application

Enable Developer Mode for physical devices

  1. Ensure your Samsung TV is connected to the same network as your development machine.

  2. Navigate to the Apps panel on your Samsung TV.

  3. Input the code 12345 using the remote control to enable developer mode.

  4. Insert the IP address of your laptop.

  5. Restart.

Connect Tizen Studio to the Device

  1. In Tizen Studio, navigate to Tools > Device Manager

  2. In the Device Manager, click Remote Device Manager in the top right corner to manage devices.

  3. Add a New Device:

    • Click scan to search for available devices.

    • Or click to manually insert the IP address of the TV you want to connect to.

  4. Once connected, right click on your device > Permit to install applications.
  5. close the Device Manager. Here, For more details.

Import Project into Tizen Studio

  1. In Tizen Studio navigate to File > Import > General > Existing Projects into Workspace.

  2. Select the directory containing the Tizen project.

Run or Debug

  1. Right-click on the project, select Run As > Tizen Web Application (for physical devices) or Tizen Web Simulator Application (Samsung TV) for the simulator.

  2. Right-click on the project, select Debug As opens the developer tools after launching the application.