Connecting TV and Visual Studio

1 minute read

To deploy and run the application on the Samsung Smart TV, first connect your TV to Visual Studio.

Prerequisites

  • Connect your computer and the TV to the same network.

Enable Developer Mode on the TV

  1. On the TV, open the “Smart Hub”.
  2. Select the “Apps” panel.
    image
  3. In the “Apps” panel, enter “12345” using the remote control or the on-screen number keypad.
    The developer mode configuration popup appears.
    image
  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.
    image

When you open the “Apps” panel after the reboot, “Develop Mode” is shown at the top of the screen.
image

Connect TV to the Visual Studio

  1. In the Visual Studio, select “Tools > Tizen > Tizen Device Manager”.
    For Mac users, launch device-manager. image
  2. To add a TV, click “Remote Device Manager” and “+”.
    image
  3. In the “Add Device” popup, define the information for the TV you want to connect to, such as the name, IP address, and port number, and click “Add”. Normally, you just need to put in the IP address.
    image
  4. In the Device Manager or Remote Device Manager window, select the TV from the list, and switch “Connection” to “On”.
    image

When the TV is successfully connected, you can see it on the Visual Studio toolbar.
image
Now you can launch applications on the TV directly from the Visual Studio.

BUT, if the TV target device is Tizen 4.0, the debug run is not supported. Make sure you run application using Start Without Debugging (Ctrl+F5).

Categories:

Updated: