Requirements

Installation

You need to install Tizen Studio, at least version 3.7.

Caution

During installation do not update install path, keep the default one:

  • Tizen IDE must be installed at ~/tizen-studio
  • Tizen IDE datas must be installed at ~/tizen-studio-data

Add system environment path

To use tizen cli, sdb and Wits, Tizen Studio CLI binaries should be added to your $PATH for accessing to tizen and sdb command-line utilities.

Depending on your shell, type the following lines.

For bash:

echo 'export PATH="$HOME/tizen-studio/tools/ide/bin:$PATH"' >> ~/.bashrc
echo 'export PATH="$HOME/tizen-studio/tools:$PATH"' >> ~/.bashrc
source ~/.bashrc

For Zsh:

echo 'export PATH="$HOME/tizen-studio/tools/ide/bin:$PATH"' >> ~/.zshrc
echo 'export PATH="$HOME/tizen-studio/tools:$PATH"' >> ~/.zshrc
source ~/.zshrc

Creating Certificates

To deploy applications on Samsung Smart Tv, you need to create a certificate.

To create certificate follow the installation guide.

As a developer you don’t need to create a Samsung certificate, just select Tizen to create certificate locally.

Caution

Samsung certificates are useful to sign applications that will be uploaded to the Store. You usually use a different certificate to submit application to the store.

Tizen Emulator

wtv-smart-tv-cli support Tizen Emulator. To deploy application on emulator use ip `0.0.0.0.

Be sure to start emulator before deploying your application, if you want it as target device.

Caution

Depending on the Tizen studio version you have installed, sdk application may not run properly on the emulator. Prefer to test on a real device in parallel.

Setup TV

You need to enable developer mode and set your ip address on the TV

  1. On the TV, open the “Smart Hub”.
  2. Select the “Apps” panel. …
  3. In the “Apps” panel, enter “12345” using the remote control or the on-screen number keypad. …
  4. Switch “Developer mode” to “On”.
  5. Enter the IP address of the computer that you want to connect to the TV, and click “OK”.
  6. Reboot the TV.

source: TV device

Caution

Because you set your IP on the TV, it means 2 devs cannot work simultaneously on the same TV set.