How do test Smart TV Alliance SDK app on actual Device

五迷三道 提交于 2019-12-09 06:45:02

问题


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 the project.

I have purchased an LG TV with the latest firmware and need to package or display somehow through the TV but no documentation exists to walk through packaging to device.

Does anyone have any experience in this?


回答1:


On TV:

  1. Open Smart TV homepage - Click on 'More' - Sign in with credentials.

  2. Insert USB with predefined directory stucture containing the DRM'ed package downloaded from LG developer website

With computer: More information on how to create the DRM'ed package:

a. Go to http://developer.lge.com/ b. Login in with credentials

Select: Resource center - Smart TV Select: Test - App test Select: New app test (fill in information, app type is: Web - Hosted)

Download DRM'ed content in .zip.

Create USB structure:

create "lgapps" directory at root of USB create "installed" directory under "lgapps" directory. ( USB root > lgapps > installed) extract directory from DRM'ed file and copy it under the 'installed' directory.

This is complete, for further assistence please consult the FAQ section.

The Smart TV Alliance SDK respects the Smart TV Alliance Specification fully. For more information visit http://www.smarttv-alliance.org/.




回答2:


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.




回答3:


Every TV vendor has different way how to create and install the application - Samsung, LG, Toshiba, Sony (SEN), Opera TV, Philips and Panasonic. You can find some smart TV related information here - www.mautilus.com/blog. If you have some question regarding some specific TV let me know.

STeN



来源:https://stackoverflow.com/questions/16789132/how-do-test-smart-tv-alliance-sdk-app-on-actual-device

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!