TV7 Samsung smart TV application.
Tizen TV developer web pages.
- If your computer OS is windows you can download the git from here.
- If your computer OS is linux (Ubuntu) you can install git using package manager.
Clone this repository to your computer disk.
- If your computer OS is windows you can download node from here.
- If your computer OS is linux (Ubuntu) you can install node using package manager.
- sudo npm install -g live-server
- You can use live-server to run this application on a browser, but then the functionality is limited. Just run live-server command in the root folder of the project.
- Download Tizen studio from here.
- Select your OS.
- Download this package: Tizen Studio 3.7 with IDE installer.
- Save package to disk and start setup.
- Follow installation instructions from here.
- When you see text To install the extensions from local images: you have done.
- Start Tizen studio.
- Select workspace folder and launch.
- Select File -> Import -> Tizen project.
- Select location (root folder of this project) and click Next.
- Select profile samsung-tv and version 5.5 and select Next.
- Now you should see the project on IDE.
- Select Run -> Run configurations from the menu.
- Select Tizen web application and click New launch configuration.
- Set name to launch configuration.
- Select project if not already selected.
- Select Apply and Close.
- You can run release version:
- Click the project name with right mouse button.
- Select Run As -> Run configurations and select launch configuration you create and click Run.
- Emulator is started and application is opened into the emulator.
- You can run debug version:
- Click the project name with right mouse button.
- Select Debug As -> Debug configurations and select launch configuration you create and click Run.
- Debug mode opens also an inspector of the browser.
- Emulator is started and application is opened into the emulator.
- At first you have to switch TV to the developer mode.
- Your computer and TV have to be in the same network (wi-fi is fine).
- Follow instructions from here.
- Be sure that your computer firewall isn't blocking the connection between the computer and the TV.
- Application have two separate video player. One is HTML5 (video.js) and other is Samsung AvPlayer. Both player are working. You can select which player to use from the main.js file (line 5).
- There is also shell script (run.sh) which do all necessary things to run app on emulator or on TV. The script run app only in release mode.
- If you are using the run.sh script you have to change paths to the profiles.xml.bu file.
- You have also run two commands from the cert.txt file.
- Generate an author certificate.
- Add new security profile.
- Change value of parameters suits your needs.
- Depending are you running app on emulator or on TV you have to change the value of DEVICE_NAME from the run.sh file.
- You can find the value of DEVICE_NAME from the Tools -> Device Manager menu of the IDE after the device is connected.
- Probably the device name of emulator is T-samsung-5.5-x86, but you have to check the device name of TV after Computer -> TV connection success.