0

Our customer asked us for the web application demo on Sony TV. I quickly found that for Sony the situation is a bit different then on LG, Samsung or Panasonic and seems to be much worse. There is no Sony web SDK for TV developers - there was a platform called Applicast for Sony Bravia TV - but seems that it is already out-dated and released only for Japan. After searching the Internet I found that another approach is to use the Yahoo Connected TV widgets, but seems that development is limited to very few countries...

Finally I ended with the Sony Google TV and the tutorial here, which shows how to move the web application to the Google TV.

So my question is:

  • What is the best environment for developing applications for Sony televisions, considering that I am not from the country supported by Yahoo Connected TV widgets?
  • If it is use of the Google TV – is using the WebView really the only way how to upload the web application on the television? Are there some other ways?
  • Do the Google TVs support HLS for streaming?
Nimantha
  • 6,405
  • 6
  • 28
  • 69
STeN
  • 6,262
  • 22
  • 80
  • 125

3 Answers3

2

Google TV has two ways to render HTML, the Chrome 11 Browser and the Android WebView. Technically speaking, the WebView allows more "native" look and feel apps but is somewhat limited in the HTML it renders (e.g. no HTML 5 Video Tag). While Chrome is a bit more powerful (and faster JavaScript), it is a bit harder to interface from HTML with the Android Runtime.

The Android Runtime can be used for advanced video playback by using the Android MediaPlayer class, and the Android DRM Framework.

1
  1. The development environment for Sony Google TV is the Android development environment which is of course quite mature and robust.

  2. If you have a web application, the user can use the browser of course but you can also wrap the web application in an Android application ... Where the Android application just starts the browser at a particular URL, or uses a webview to load the web page as a "widget" within a larger layout that can include other non-web elements. I'm not sure what you mean by "is using the webview the only way ...". It's quite flexible. you can load web assets from the web or from assets bundled in the application. It's quite flexible. I'm not sure what else you could ask for.

  3. I have no experience with streaming video on a Google TV, but here's a link that indicates that it is supported, and has recently been "enhanced",

http://www.engadget.com/2012/02/03/google-tv-3-2-update-enhances-hls-video-streaming-support-plex/

Nimantha
  • 6,405
  • 6
  • 28
  • 69
Jeffrey Blattman
  • 22,176
  • 9
  • 79
  • 134
1

Yahoo! Connected TV should be available for development in any country. The Widget Developer Kit (WDK) is available for download on the Y! Connected TV website: http://connectedtv.yahoo.com/developer/#frmContact.

Select 2011 and 2012 Sony TVs with the Y! Connected TV platform do support HLS streaming. I'm not sure of all the supported Sony models but I do know the 2012 model KDL-xxEX640 support HLS streaming. xx= 40, 46 and 55 and depict screen sizes.

If you plan on building for multiple TV OEMs you may want to look at the Y! Connected TV platform as they support many more OEMs. However, Y! Connected TV will not support WebView, apps are built using JavaScript.

The Google TV media framework does support HLS streaming of most HTTP live streams in Android 3.0: http://developer.android.com/sdk/android-3.0-highlights.html#multimedia

Mediafly has done some HLS stream integration with Android 3.0 and has more info: http://www.mediafly.com/news/http-live-streaming-and-android

Schmeeds
  • 83
  • 1
  • 4
  • Hi Schmeeds, i have 2 questions: if you check http://connectedtv.yahoo.com/ portal and you click in menu on "Developer" and then you go to the "Developers" you will find there list of countries the Yahoo TV Connect support... Is there any official Yahoo support mail to ask what that means? – STeN Apr 03 '12 at 10:32
  • 1) Are you developing with use of the Yahoo! Connected TV on Sony? 2) Can you suggest a model - is KDL-xxEX640 working well? Is there a list of models that supports Yahoo! Connected TV? 3) How are Yahoo applications installed on the TV - do we need some special Yahoo installer application for that? – STeN Apr 03 '12 at 10:46
  • You may be referring to the Y! Connected TV Store page: http://connectedtv.yahoo.com/developer/tvstore/process/ This is only for developers looking to sell their app in the Y! Connected TV Store. Again, the developer kit should be available in all countries at: http://connectedtv.yahoo.com/developer/#frmContact. The official Y! support mail is: tvwidgets (at) yahoo-inc com The dev environment setup is in Ubuntu. Yahoo! provides a download of the Ubunit 10.04 Virtual Machine. After you install the VM you can download and install the dev kit Debian software package on the VM. – Schmeeds Apr 03 '12 at 19:58
  • 1. I am not developing with the use of a Sony TV. The Dev Kit includes a Simulator for Toshiba, VIZIO and Samsung as well as the latest production TVs. You can build and test using the TV sim. 2. If you would like to purchase a TV to test on, look at any of the Sony Bravia models or Samsung 7000+ series. Availability depends on what country you are in. An incomplete list of TVs can be found on the Y! website at: connectedtv.yahoo.com/consumers/ Again, this list does not include all devices, many are missing. – Schmeeds Apr 03 '12 at 20:01
  • 3. Again, you can test in the TV Simulator, included in the Widget Developer Kit, and or test on an actual TV. A complete tutorial for testing your app on a TV is detailed in this blog post: http://www.yctvblog.com/blog/2010/08/09/testing-your-widget-on-a-tv – Schmeeds Apr 03 '12 at 20:02