TV Device
tv device this topic describes how to test your web application by running or debugging it on a tv or a target device related info device manager if you have tested your application on the emulator, it is ready for uploading and testing on a tv even though it is possible to complete most application testing on the emulator, it is highly recommended that you also test your application on a target device the emulator and tv environments are very similar, but there are some differences at the hardware level prerequisites to test your application on a tv make sure that the tv has the latest firmware installed connect your computer and the tv to the same network create a certificate profile connecting the tv and sdk to connect the tv to the sdk as a remote device enable developer mode on the tv on the tv, open the "smart hub" select the "apps" panel in the "apps" panel, enter "12345" using the remote control or the on-screen number keypad the developer mode configuration popup appears switch "developer mode" to "on" enter the ip address of the computer that you want to connect to the tv, and click "ok" reboot the tv when you open the "apps" panel after the reboot, "develop mode" is marked at the top of the screen connect the tv to the sdk in the tizen studio, select "tools > device manager" the device manager launches to add a tv, click "remote device manager" and "+" 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" in the device manager window, select the tv from the list, and switch "connection" to "on" now you can launch applications on the tv directly from the tizen studio launching applications on the tv you can launch your application on the target device in normal or debug mode to launch the application in normal mode, right-click the project in the "project explorer" view, and select "run as" and a specific launch mode "tizen web application" run the application on the connected device "tizen web unit test application" run the application with unit tests to launch the application in debug mode, right-click the project in the "project explorer" view, and select "debug as > tizen web application" the web inspector runs automatically when you launch the application in debug mode it is based on the webkit web inspector, and has been modified to support remote debugging troubleshooting the following are common issues you can encounter when working with an application on the tv error codes or message, issue description "1009 app uninstall fail" the application cannot be uninstalled through the tizen studio due to internal device problems uninstall the application from the "apps" panel on the tv "1010 app install fail" application installation can fail for many reasons a problem with the signing certificates is a common reason check your certificates and try again "1013 app run fail" the application cannot be launched through the tizen studio due to internal device problems try to run the application again, or reboot the device "you are not an authorized user!" error and "null pointer" error npe these error messages occur if you are using older versions of the device firmware or sdk make sure you are using the newest firmware and sdk versions "failed to get a device information" message this message occurs only on 2015 devices, and has no effect on running the application you can ignore the message on a macos computer, the tizen studio freezes or hangs update your java development kit installation frequently asked questions q when i install a newer version of an application on the tv, is the previous version overwritten or uninstalled? the previous version of the application will uninstall automatically when you install the new version q can applications or widgets be installed on the tv through usb? for security reasons, installing applications or widgets through usb is no longer supported q why do some applications run perfectly on web simulator but fail to run on the tv or the emulator? the web engine of the web simulator is different than that of the tv and the emulator therefore, application behavior can vary between web simulator, tv, and emulator make sure you perform the final testing of your application on the emulator and tv q how do i open port "26101"? port 26101 is an internal device port it cannot be opened separately