How do test Smart TV Alliance SDK app on actual Device

后端 未结 3 2007
鱼传尺愫
鱼传尺愫 2021-02-10 14:29

I\'ve been playing with the Smart TV Alliance SDK and have built an app which runs fine on the emulator but I need to test and demo it on an actual device before I continue with

3条回答
  •  别跟我提以往
    2021-02-10 15:00

    I've written some guidelines. You can find them here:

    https://github.com/ruiposse/smart-tv-app-dev-guidelines#testing

    First, use the "Export App Test" option in the LG IDE. Then, update the package to the "App Test" option in the LG Developer site and download the DRM applied file. You create lgapps/installed/{appid} folder structure inside a usb stick, unzip the downloaded file into it and insert the usb stick into the LG TV.

    When you upload the web app into the LG Developer site, you have to insert an URL in the form. This is really good, because it means that you don't have to go over this process every time you change something in your app.

    So, I just create and upload a package that allows the TV to connect to my web server. After that I can continue/start to code the app and instantly test on the real device by reloading the TV app.

    It's always good to read the official documentation about deployment.

提交回复
热议问题