Skip to content

asiltureli/tv7samsung

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tv7samsung

TV7 Samsung smart TV application.

Tizen TV developer web pages.

Demo

Instructions

Download and install git

  • 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 repository

Clone this repository to your computer disk.

Download and install node (version 12.x.x)

  • 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.

Install live-server

  • 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 and install Tizen studio

  • 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.

Import project into the Tizen studio IDE

  • 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.

Run application on emulator

  • 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.

Run application on TV

  • 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.

Notes

  • 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.

Useful links

License

About

TV7 Samsung smart TV application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published