0
Google TV: How to develop second screen appsNYC Android Developer Meetup 3.14.2013        Carmen Delessio        Sam’s Lea...
CES 2013 Announcements:   ASUS    LG    HiSense    NetGearAvailable Now:Sony, Visio, LG
Develop on a device …                for less than $100
YouTube app in the news
YouTube app   in the news
Smart TV Projected Growth:http://techcrunch.com/2012/10/17/smart-tv-growth-for-2012-pegged-at-15-but-north-americans-still...
Smart TV Technologyhttp://www.movinapp.com/the-smart-tv-technology/
Google TV is a software platform.   Hardware and software are separate.   Google TV works across manufacturers.
Google TV is a software platform.    Hey, this reminds me of something . . .
Smart Phone Market Share 2008                       Apple 19%                       RIM 44%                       Palm 13%
Smart Phone Market Share 2012                       Google 51%                       Apple 30%                       RIM 14%
2008: SmartPhones = dedicated hardwareAndroid – a software platform, decouples             hardware and software2012: Over...
Google Play (a real market) is available onGoogle TVPlenty of Android Developers!
The TV is on.    Why are you looking at your    phone?
We all look at our phones (or tablets) all thetime.With a second screen app, the content inthe 2 screens is somehow relate...
Enhanced Viewing apps     Supplement a broadcast TV show
Enhanced Viewing appsSynced apps
Enhanced Viewing appsDevelopers, check out watchwith.com
Enhanced Viewing apps     Work with all TV Shows                -Or-  Have have some level of content            integration
Remote Control Apps
Remote Control Apps
Content Selection Apps                   Select on Device                   Play on TV
Content Selection Apps Flickr Example           http://www.informit.com/articles/article.aspx?p=2021960
Content Selection Apps:Opportunities?What about Facebook?  Instagram? Shutterfly?News or TV Content apps?   CNN? Comedy Ce...
Content Selection Apps      Select content on device,           Display on TV  Default Display (photos or videos)Custom di...
Interactive AppsBlackjack Sample App
Interactive AppsBlackjack Sample App        Make your play using a device
Interactive AppsBlackjack Sample AppResultsDisplayed onTV
Interactive AppsBlackjack Sample App         Two apps          are used Phone App           TV App
Interactive AppsBlackjack Sample AppMultiple devices can beconnected to the TVPossibilities?
Interactive AppsWedraw.tv and others from movl.com
Interactive Apps         Interact with device,            Display on TV      Not just selecting contentThere is an app on ...
Ok already,          Let’s make something
Discovery: Hey, there is a TV over herePairing: OK, let’s connectDiscovery - recognizing a TV on networkPairing - establis...
Discovery: Hey, there is aTV over hereDiscovery –recognizing a TV on a network
Pairing: OK, let’s connectPairing - establishing trusted communication
For all second screen apps, some kind ofdiscovery and pairing must occur.Google TV builds in:             Anymote Protocol...
Getting StartedThe best way to start is to install and run theBlackJack Demo apphttps://code.google.com/p/googletv-android...
Install BlackJack Demo
Install BlackJack DemoAfter installation you will have:   BlackJackGTV - a simple 1st screen app   BlackJackTVRemote - a...
Install BlackJack Demo   BlackJackTVRemote   Uses Anymote LibraryAndroid properties for BlackJackTVRemote
What does Anymote do?Allows Remote App to send: Key events Mouse Events Connection Events Intents!
BlackJack Remote App Code:   Implement Anymote ClientListener   Get the AnymoteSender when connected   Send Keystrokes ...
Activity - implement ClientListenerManifest – defines service & anymote pairing activity
Hit Button ClickedThe sendKeyEvent() method
On the TV App, there is a response to the “H”  Remote app sends KeyEvent.KEYCODE_H via  anymote  TV App gets this key in t...
Sending Intents using AnymoteJust android- Implicit intents like View a web page- Explicit – start a specific activity
Implicit intents likeView a web pageDemo app takes URLDisplays it on TVSimple example, shell for other apps
Flickr Example-   Gets most recent Flickr Photos    - Select a photo    - Fling it to TV-   Set up Anymote Library-   Get ...
http://www.informit.com/articles/article.aspx?p=2021960
RecentPhotoActivity.java
Intent App – remote app uses explicit intentRemote App code to fling intent:
Debugging and Running apps on GTVGet Computer IP addressSet Debugger address on TV settingsADB connect to TV:adb connect 1...
Android 4.2.2   Presentation class    Display Content on 2nd Screen
OUYA Game Consolehttp://www.ouya.tv/devs/
-   Google TV is a software platform-   Different types of second screen apps    - Enhanced Viewing    - Remote control   ...
-   Besides Google TV, Check out    - Watchwith.com    - Movl.com    - http://www.ouya.tv/devs/
Carmen Delessiohttp://about.me/carmendelessiohttp://www.bffmedia.comhttp://www.screenitup.com
Second Screen Apps - On Google TV
Second Screen Apps - On Google TV
Upcoming SlideShare
Loading in...5
×

Second Screen Apps - On Google TV

8,330

Published on

Google TV and Second Screen Apps. What kinds of apps are there and how to make them.

Covers smart tv landscape. By Carmen Delessio. Author of "Sam's Learn Google TV Development in 24 Hours."

Presented at NYC Android Developer meetup. 3/14/2013
at Amplify.com

0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
8,330
On Slideshare
0
From Embeds
0
Number of Embeds
10
Actions
Shares
0
Downloads
25
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Transcript of "Second Screen Apps - On Google TV"

  1. 1. Google TV: How to develop second screen appsNYC Android Developer Meetup 3.14.2013 Carmen Delessio Sam’s Learn Google TV Development in 24 Hours http://about.me/carmendelessio
  2. 2. CES 2013 Announcements: ASUS LG HiSense NetGearAvailable Now:Sony, Visio, LG
  3. 3. Develop on a device … for less than $100
  4. 4. YouTube app in the news
  5. 5. YouTube app in the news
  6. 6. Smart TV Projected Growth:http://techcrunch.com/2012/10/17/smart-tv-growth-for-2012-pegged-at-15-but-north-americans-still-slow-to-adopt/http://www.displaysearch.com/cps/rde/xchg/displaysearch/hs.xsl/121017_smart_tv_shipments_grow_worldwide_in_2012.asp
  7. 7. Smart TV Technologyhttp://www.movinapp.com/the-smart-tv-technology/
  8. 8. Google TV is a software platform. Hardware and software are separate. Google TV works across manufacturers.
  9. 9. Google TV is a software platform. Hey, this reminds me of something . . .
  10. 10. Smart Phone Market Share 2008 Apple 19% RIM 44% Palm 13%
  11. 11. Smart Phone Market Share 2012 Google 51% Apple 30% RIM 14%
  12. 12. 2008: SmartPhones = dedicated hardwareAndroid – a software platform, decouples hardware and software2012: Over 50% of smart phones use AndroidPrediction:Smart TVs will follow same model. A softwareplatform will dominate. Google TV is leadingcontender.
  13. 13. Google Play (a real market) is available onGoogle TVPlenty of Android Developers!
  14. 14. The TV is on. Why are you looking at your phone?
  15. 15. We all look at our phones (or tablets) all thetime.With a second screen app, the content inthe 2 screens is somehow relatedThere are at least 4 Kinds of SecondScreen apps
  16. 16. Enhanced Viewing apps Supplement a broadcast TV show
  17. 17. Enhanced Viewing appsSynced apps
  18. 18. Enhanced Viewing appsDevelopers, check out watchwith.com
  19. 19. Enhanced Viewing apps Work with all TV Shows -Or- Have have some level of content integration
  20. 20. Remote Control Apps
  21. 21. Remote Control Apps
  22. 22. Content Selection Apps Select on Device Play on TV
  23. 23. Content Selection Apps Flickr Example http://www.informit.com/articles/article.aspx?p=2021960
  24. 24. Content Selection Apps:Opportunities?What about Facebook? Instagram? Shutterfly?News or TV Content apps? CNN? Comedy Central?
  25. 25. Content Selection Apps Select content on device, Display on TV Default Display (photos or videos)Custom display –app on phone and TV
  26. 26. Interactive AppsBlackjack Sample App
  27. 27. Interactive AppsBlackjack Sample App Make your play using a device
  28. 28. Interactive AppsBlackjack Sample AppResultsDisplayed onTV
  29. 29. Interactive AppsBlackjack Sample App Two apps are used Phone App TV App
  30. 30. Interactive AppsBlackjack Sample AppMultiple devices can beconnected to the TVPossibilities?
  31. 31. Interactive AppsWedraw.tv and others from movl.com
  32. 32. Interactive Apps Interact with device, Display on TV Not just selecting contentThere is an app on both the TV and the device.
  33. 33. Ok already, Let’s make something
  34. 34. Discovery: Hey, there is a TV over herePairing: OK, let’s connectDiscovery - recognizing a TV on networkPairing - establishing trusted communication
  35. 35. Discovery: Hey, there is aTV over hereDiscovery –recognizing a TV on a network
  36. 36. Pairing: OK, let’s connectPairing - establishing trusted communication
  37. 37. For all second screen apps, some kind ofdiscovery and pairing must occur.Google TV builds in: Anymote Protocol & Google TV Pairing protocolhttps://code.google.com/p/anymote-protocol/https://developers.google.com/tv/remote/docs/pairing
  38. 38. Getting StartedThe best way to start is to install and run theBlackJack Demo apphttps://code.google.com/p/googletv-android-samples/git clone https://code.google.com/p/googletv-android-samples/
  39. 39. Install BlackJack Demo
  40. 40. Install BlackJack DemoAfter installation you will have: BlackJackGTV - a simple 1st screen app BlackJackTVRemote - a simple 2nd screen app to talk w/ the first screen app. Anymote Library – library for Anymote protocol
  41. 41. Install BlackJack Demo BlackJackTVRemote Uses Anymote LibraryAndroid properties for BlackJackTVRemote
  42. 42. What does Anymote do?Allows Remote App to send: Key events Mouse Events Connection Events Intents!
  43. 43. BlackJack Remote App Code: Implement Anymote ClientListener Get the AnymoteSender when connected Send Keystrokes to the TV App  “H” for Hit  “S” for Stand  “N” for New Game
  44. 44. Activity - implement ClientListenerManifest – defines service & anymote pairing activity
  45. 45. Hit Button ClickedThe sendKeyEvent() method
  46. 46. On the TV App, there is a response to the “H” Remote app sends KeyEvent.KEYCODE_H via anymote TV App gets this key in the onKeyDown() and responds
  47. 47. Sending Intents using AnymoteJust android- Implicit intents like View a web page- Explicit – start a specific activity
  48. 48. Implicit intents likeView a web pageDemo app takes URLDisplays it on TVSimple example, shell for other apps
  49. 49. Flickr Example- Gets most recent Flickr Photos - Select a photo - Fling it to TV- Set up Anymote Library- Get Source code- You can use this as your Second Screen Remote app starting point
  50. 50. http://www.informit.com/articles/article.aspx?p=2021960
  51. 51. RecentPhotoActivity.java
  52. 52. Intent App – remote app uses explicit intentRemote App code to fling intent:
  53. 53. Debugging and Running apps on GTVGet Computer IP addressSet Debugger address on TV settingsADB connect to TV:adb connect 192.168.1.103TV is just another device
  54. 54. Android 4.2.2 Presentation class Display Content on 2nd Screen
  55. 55. OUYA Game Consolehttp://www.ouya.tv/devs/
  56. 56. - Google TV is a software platform- Different types of second screen apps - Enhanced Viewing - Remote control - Content Selection - Interactive
  57. 57. - Besides Google TV, Check out - Watchwith.com - Movl.com - http://www.ouya.tv/devs/
  58. 58. Carmen Delessiohttp://about.me/carmendelessiohttp://www.bffmedia.comhttp://www.screenitup.com
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×