How to test the Smart TV Alliance SDK application on a real device

I played with the Smart TV Alliance SDK and created an application that works great on the emulator, but I need to test it and demonstrate it on a real device before continuing with the project.

I bought an LG TV with the latest firmware and you need to somehow package or display it through the TV, but there is no documentation for going through the packaging to the device.

Does anyone have any experience with this?

+4
source share
3 answers

On the TV:

  • Open the Smart TV homepage - click "Advanced" - log in with your credentials.

  • Insert a USB with a predefined directory structure containing the DRM package downloaded from the LG developer website.

With a computer: Additional information on how to create a DRM package:

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

Select: Resource Center - Smart TV Select: Test - application test Select: New application test (enter information, application type: Web hosting)

Download DRM content to .zip.

Create a USB structure:

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

This is complete; for further assistance, see the FAQ section.

The Smart TV Alliance SDK is fully compliant with the Smart TV Alliance specification. For more information, visit http://www.smarttv-alliance.org/ .

+1
source

I wrote some recommendations. You can find them here:

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

First, use the "Export Application" option in the LG IDE. Then update the package to the "Application Verification" option on the LG developer website and download the DRM application file. You create the lgapps / installed / {appid} folder structure inside the USB drive, unzip the downloaded file into it and insert the USB stick into the LG TV.

When you upload a web application to the LG developer website, you must paste the URL into the form. This is really good because it means you don’t have to go through this process every time you change something in your application.

So, I just create and download a package that allows you to connect to the TV on my web server. After that, I can continue / start encoding the application and instantly test the real device by restarting the TV application.

It is always helpful to read the official deployment documentation.

0
source

Each television provider has a different way of creating and installing the application - Samsung, LG, Toshiba, Sony (SEN), Opera TV, Philips and Panasonic. Here you can find information about smart TV - www.mautilus.com/blog . If you have any question regarding a particular TV, let me know.

Sten

0
source

Source: https://habr.com/ru/post/1483118/


All Articles