The following questions are related to testing applications.
To test your application on a TV, you must use the Tizen Studio IDE. You can also use the USB Demo Packaging Tool, available in the Samsung Apps TV Seller Office.
You can test your application on the emulator without using the IDE. The Tizen Studio Command Line Interface (CLI) provides functionalities for installing, running, and uninstalling applications.
TV
HTV
#tizen studio ide
To install and test your application on a TV, you must connect the TV and the Tizen Studio. For more information, see TV Device.
If you do not have access to an actual Samsung Smart TV, you can also test your application in the TV emulator.
TV
HTV
#tv emulator
Before connecting a Samsung Smart TV to the Tizen Studio, you must enable Developer Mode on the TV. For more information, see Connecting the TV and SDK.
NoteIf the TV has the "Samsung Instant On" feature enabled, you must power-cycle the TV (disconnect and reconnect the power source) at the reboot step.
TV
HTV
#developer mode
To connect a Smart TV to the Tizen Studio, you must enable Developer Mode on the TV, connect the TV and your computer to the same network, and launch the Remote Device Manager in the Tizen Studio. For more information, see TV Device.
TV
HTV
#connect tv
#tizen studio
Make sure that you have connected the TV and computer to the same network, and enabled Developer Mode on the TV. For more information, see TV Device.
You can also try to connect the TV to the Tizen Studio without using the Remote Device Manager:
On the TV, enable Developer Mode.
In the Windows® command prompt, navigate to your <Tizen Studio>\tools directory.
Enter the sdb connect <your TV IP address> command.
TV
HTV
#unable to connect tv
The emulator and the TV environments are very similar, but there are some differences at the hardware level. For more information, see Emulator Limitations.
Make sure you perform the final testing of your application on the TV.
The TV emulator does not support hotel TV environment.
TV
HTV
#unable to reproduce bug
Applications installed to a TV through the Tizen Studio are uninstalled when the TV is switched off or disconnected from the Tizen Studio. This is the intended platform behavior.
TV
HTV
#application uninstalled
The TV emulator is a virtual machine that reduces the inconvenience of testing the application on a real device, by providing an environment similar to a real TV. For information about using the emulator, see TV Emulator.
TV
HTV
#tv emulator
Prelaunching allows several applications to load in the background when the Samsung TV is switched on. When the user runs a prelaunched application, it launches immediately with no loading time. Prelaunching is supported on the TV emulator. For more information, see Prelaunching Applications.
TV
#prelaunching application
You can test DRM-protected content playback on an actual TV.
Due to possible security issues, using DRM functions in the emulator is not possible. DRM-protected content can only be played back on a real device.
TV
HTV
#drm
You can use the Web Inspector to help you optimize your Web applications. It provides a debugging environment, and allows you to inspect the CSS and layout of HTML pages, and monitor resource and network usage.
TV
HTV
#application performance
#analyze
Select a model based on the media formats you want to support. For information on which TV models are included in each model group, see TV Model Groups.
TV
#tv model
For information about testing hosted applications on a TV, contact your Samsung Apps TV Seller Office Content Manager.
NoteTo create hosted applications, you must be a member of a Seller Office partner group.
TV
HTV
#hosted application
When no applications are running on the TV or emulator, the Web socket connection to the computer closes, disconnecting the Web Inspector. To prevent Web Inspector disconnection:
To install your application on the TV or emulator and launch the Web Inspector, run the application in debug mode from the Tizen Studio.
When the Web Inspector finishes loading, launch a different application from the Smart Hub.
Return to the Smart Hub and launch your application.
The first application remains running but hidden, and prevents the Web Inspector from disconnecting when you close your application.
TV
HTV
#web inspector
#disconnection
No. Automated testing is not supported on Samsung TVs.
Additionally, the Automatic Testing Tools provided for Samsung Legacy Platform are no longer supported.
TV
HTV
#automated testing
TV applications do not support generating crash logs. However, you can detect when the application stops or closes unexpectedly, by implementing a software watchdog timer.
TV
HTV
#crash log
Yes. To test accessing content from another country or region, connect the TV to the Internet through a VPN.
TV
HTV
#accessing application content
#geolocation
#vpn
You can view network traffic statistics in the Web Inspector. However, the Web Inspector detects only ordinary Web traffic. It does not detect network traffic from, for example, media playback using the AVPlay API.
TV
HTV
#network traffic
#statistics
The Web Inspector does not work properly with Samsung TVs on later versions of Google ChromeTM. You can try using an older Google ChromeTM version.
TV
HTV
#unable to test application
#web inspector
No. For security reasons, the Tizen Studio Dynamic Analyzer is not supported on Samsung TVs.
TV
HTV
#memory profiling
No. It is not possible to obtain root access to the TV.
TV
HTV
#root access
No. The sdb logging feature is not supported on Samsung TVs. It is not possible to retrieve system logs.
TV
HTV
#sdb tool
#system log
This error is related to a certificate issue. Try creating a new certificate profile, making sure you select the distributor certificate privilege level you need, then building the project with the new certificate profile.
TV
HTV
#privilege level
#tizen studio
#error
If you have modified the content of a ".wgt" file after packaging it, it can no longer be installed. You must build the package again through the Tizen Studio.
TV
HTV
#wgt file
#tizen studio
#error
Samsung TVs support only Web applications (".wgt" files). They do not support native applications (".tpk" files).
TV
HTV
#tpk file
No. Testing by proxy is not supported on Samsung TVs.
TV
HTV
#proxy
#network traffic
#security certificate
No. To test Samsung TV applications, the device must have access to the Tizen and Samsung Product APIs. The Samsung Product API is only available on Samsung devices.
TV
HTV
#samsung product api
#hardware
Manage Your Cookies
We use cookies to improve your experience on our website and to show you relevant
advertising. Manage you settings for our cookies below.
Essential Cookies
These cookies are essential as they enable you to move around the website. This
category cannot be disabled.
Company
Domain
Samsung Electronics
developer.samsung.com, .samsung.com
Analytical/Performance Cookies
These cookies collect information about how you use our website. for example which
pages you visit most often. All information these cookies collect is used to improve
how the website works.
Company
Domain
Samsung Electronics
.samsung.com
Functionality Cookies
These cookies allow our website to remember choices you make (such as your user name, language or the region your are in) and
tailor the website to provide enhanced features and content for you.
Company
Domain
Samsung Electronics
developer.samsung.com, google.account.samsung.com
Preferences Submitted
You have successfully updated your cookie preferences.