GithubHelp home page GithubHelp logo

tv7samsung's Introduction

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

tv7samsung's People

Forkers

mashrur786

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.