Giter VIP home page Giter VIP logo

smart-tv-app-dev-guidelines's Introduction

Smart TV app development guidelines


Smart TV App Development examples, tutorials, best-practices and documentation.

(nice intro needed…)


Contents


LG

Developer site: http://developer.lge.com/

Forum: LG Official Forum

Documentation Link: http://developer.lgappstv.com/TV_HELP/index.jsp

I find myself searching the documentation far too often, so here's the most important stuff so far. Feel free to make suggestions.

LG SDK

LG Software Development Kit consists in a VirtualBox image that contains the LG Emulator and RCU (Remote Control Unit).

LG Smart TV SDK V3.0

Release Date: 08-FEB-2013

Supported Platforms: Windows, Linux, Mac

Download: LG SDK

Media Specs (Protocols and Codecs)

General official documentation link.

All three models (NetCast 2.0 (2011), NetCast 3.0 H12 (2012), NetCast 3.0 M12 (2012) support the following protocols:

  • HTML file transportation: HTTP, HTTPS
  • VoD media file transportation: MMSH, HTTP, RTMP, RTMPE Linear or live broadcasting: HLS, Widevine

And the following Codecs/Containers:

  • mp4, wmv, asf, mov, wvm, avi, ts, mp3, wma

HTML5 Audio and Video tags supported. Most HTML5 Video events also supported.

MIME Types

In order to play media in LG Smart TVs is necessary to use a media object. Example:

<object type="application/x-netcast-av" data="" autostart="false" width="500" height="500" id="lgPlayer" style="position:absolute; top:0px; left:0px; z-index: 1;"></object>

The "data" attribute can be changed using Javascript to play whatever supported media. The "type" attributes that can be used are:

  • application/x-netcast-av - general supported media
  • video/x-ms-asf, video/x-ms-wmv - WMV (ASF)
  • audio/x-ms-wma - WMA
  • audio/mpeg, audio/mp3 - MP3
  • video/mp4, video/mpeg - MP4
  • application/vnd.apple.mpegurl - m3u8

Here are some useful official documentation links about these topics:

Design Guidelines

(TO-DO)

Testing

Real TV

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.

Emulator

The best way to test an LG App is to have a local web server and to open the app link using the RCU.

Read the official documentation about testing on Emulator.

Store submission

LG Store submission is managed in the LG Seller Lounge.

It is important to read the "Seller Lounge Guide", easily spotted once you log in.

Required Documents for App Submission

Two documents are mandatory for submiting an app:

  • AppDescription (appdescription.ppt)

  • Self-Evaluation Checklist (app_self_evaluation_checklist.xls)

Download: Required Documents for Application Submission to LG Seller Lounge -> "documents for app qa.zip"

LG App icon & screenshots

Exactly one icon is mandatory and needs to be accourdingly to these rules:

  • 200 * 200
  • PNG, JPG or GIF
  • max size 100kb

At least two screenshots, as per:

  • 1280 * 720 (browser, plex) or 960 * 540 (flash)
  • PNG, JPG or GIF
  • max size 200kb
  • max number of screenshots = 6

Download: LG Smart TV Guidelines for App Icon and Screenshot -> "LG Smart TV Guidelines for App Icon and Screenshot_V4.1.pdf"

Other

LG Smart TV models list: http://www.lg.com/uk/smart-tvs

LG Smart TV for development suggestion: 32LM620T


Samsung

(...)

last update: 23/04/2013

smart-tv-app-dev-guidelines's People

Contributors

ruiposse avatar

Watchers

 avatar

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.