SlideShare ist ein Scribd-Unternehmen logo
1 von 60
Google TV: How to develop second screen apps
NYC Android Developer Meetup 3.14.2013
        Carmen Delessio
        Sam’s Learn Google TV Development in 24 Hours
        http://about.me/carmendelessio
CES 2013 Announcements:
   ASUS
    LG
    HiSense
    NetGear

Available 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-slow-to-adopt/

http://www.displaysearch.com/cps/rde/xchg/displaysearch/hs.xsl/121017_smart_tv_shipments_grow_worldwide_in_2012.asp
Smart TV Technology




http://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 hardware
Android – a software platform, decouples
             hardware and software
2012: Over 50% of smart phones use Android
Prediction:
Smart TVs will follow same model. A software
platform will dominate. Google TV is leading
contender.
Google Play (a real market) is available on
Google TV

Plenty of Android Developers!
The TV is on.

    Why are you looking at your
    phone?
We all look at our phones (or tablets) all the
time.

With a second screen app, the content in
the 2 screens is somehow related

There are at least 4 Kinds of Second
Screen apps
Enhanced Viewing apps

     Supplement a broadcast TV show
Enhanced Viewing apps
Synced apps
Enhanced Viewing apps
Developers, 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 Central?
Content Selection Apps

      Select content on device,
           Display on TV

  Default Display (photos or videos)

Custom display –app on phone and TV
Interactive Apps
Blackjack Sample App
Interactive Apps
Blackjack Sample App
        Make your play using a device
Interactive Apps
Blackjack Sample App
Results
Displayed on
TV
Interactive Apps
Blackjack Sample App
         Two apps
          are used


 Phone App           TV App
Interactive Apps
Blackjack Sample App
Multiple devices can be
connected to the TV
Possibilities?
Interactive Apps
Wedraw.tv and others from movl.com
Interactive Apps
         Interact with device,
            Display on TV

      Not just selecting content

There is an app on both the TV and the
                device.
Ok already,

          Let’s make something
Discovery: Hey, there is a TV over here

Pairing: OK, let’s connect


Discovery - recognizing a TV on network

Pairing - establishing trusted communication
Discovery: Hey, there is a
TV over here

Discovery –
recognizing a TV on a network
Pairing: OK, let’s connect




Pairing - establishing trusted communication
For all second screen apps, some kind of
discovery and pairing must occur.

Google TV builds in:
             Anymote Protocol
                     &
         Google TV Pairing protocol
https://code.google.com/p/anymote-protocol/
https://developers.google.com/tv/remote/docs/pairing
Getting Started

The best way to start is to install and run the
BlackJack Demo app

https://code.google.com/p/googletv-android-samples/

git clone https://code.google.com/p/googletv-android-
samples/
Install BlackJack Demo
Install BlackJack Demo

After 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
Install BlackJack Demo
   BlackJackTVRemote
   Uses Anymote Library

Android 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 to the TV App
     “H” for Hit
     “S” for Stand
     “N” for New Game
Activity - implement ClientListener




Manifest – defines service & anymote pairing activity
Hit Button Clicked




The 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 the onKeyDown() and
  responds
Sending Intents using Anymote

Just android
- Implicit intents like View a web page
- Explicit – start a specific activity
Implicit intents like
View a web page

Demo app takes URL
Displays it on TV
Simple example, shell for other apps
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
http://www.informit.com/articles/article.aspx?p=2021960
RecentPhotoActivity.java
Intent App – remote app uses explicit intent

Remote App code to fling intent:
Debugging and Running apps on GTV

Get Computer IP address
Set Debugger address on TV settings

ADB connect to TV:
adb connect 192.168.1.103

TV is just another device
Android 4.2.2
   Presentation class
    Display Content on 2nd Screen
OUYA Game Console
http://www.ouya.tv/devs/
-   Google TV is a software platform

-   Different types of second screen apps
    - Enhanced Viewing
    - Remote control
    - Content Selection
    - Interactive
-   Besides Google TV, Check out
    - Watchwith.com
    - Movl.com
    - http://www.ouya.tv/devs/
Carmen Delessio
http://about.me/carmendelessio



http://www.bffmedia.com
http://www.screenitup.com

Weitere ähnliche Inhalte

Was ist angesagt?

Google IO Mobility Review 2014
Google IO Mobility Review 2014Google IO Mobility Review 2014
Google IO Mobility Review 2014Manesh Lad
 
TDC 2014 - Trilha Mobile - Material design
TDC 2014 - Trilha Mobile - Material designTDC 2014 - Trilha Mobile - Material design
TDC 2014 - Trilha Mobile - Material designJackson F. de A. Mafra
 
Android application développement
Android application développementAndroid application développement
Android application développementRomain Caisse
 
2017 06 Ontario Hololens Tour
2017 06 Ontario Hololens Tour2017 06 Ontario Hololens Tour
2017 06 Ontario Hololens TourBruno Capuano
 
Android auto
Android autoAndroid auto
Android autodhiraj007
 
Video Streaming: from the native Android player to uncoventional devices
Video Streaming: from the native Android player to uncoventional devicesVideo Streaming: from the native Android player to uncoventional devices
Video Streaming: from the native Android player to uncoventional devicesMatteo Bonifazi
 
PhoneGap Day 2016 USA
PhoneGap Day 2016 USAPhoneGap Day 2016 USA
PhoneGap Day 2016 USARyan J. Salva
 
Open Source Problem Solving
Open Source Problem SolvingOpen Source Problem Solving
Open Source Problem SolvingDaisy LaFlamme
 
00 Android Wear Setup Emulator
00 Android Wear Setup Emulator00 Android Wear Setup Emulator
00 Android Wear Setup EmulatorAnuchit Chalothorn
 
Android deep dive
Android deep diveAndroid deep dive
Android deep diveAnuSahniNCI
 
Learn android course in Coimbatore|Android training institutes in coimbatore|...
Learn android course in Coimbatore|Android training institutes in coimbatore|...Learn android course in Coimbatore|Android training institutes in coimbatore|...
Learn android course in Coimbatore|Android training institutes in coimbatore|...sathyancegon
 

Was ist angesagt? (15)

Trilha Android - Android Evolved
Trilha Android - Android EvolvedTrilha Android - Android Evolved
Trilha Android - Android Evolved
 
Google IO Mobility Review 2014
Google IO Mobility Review 2014Google IO Mobility Review 2014
Google IO Mobility Review 2014
 
TDC 2014 - Trilha Mobile - Material design
TDC 2014 - Trilha Mobile - Material designTDC 2014 - Trilha Mobile - Material design
TDC 2014 - Trilha Mobile - Material design
 
Android application développement
Android application développementAndroid application développement
Android application développement
 
2017 06 Ontario Hololens Tour
2017 06 Ontario Hololens Tour2017 06 Ontario Hololens Tour
2017 06 Ontario Hololens Tour
 
Android auto
Android autoAndroid auto
Android auto
 
Video Streaming: from the native Android player to uncoventional devices
Video Streaming: from the native Android player to uncoventional devicesVideo Streaming: from the native Android player to uncoventional devices
Video Streaming: from the native Android player to uncoventional devices
 
PhoneGap Day 2016 USA
PhoneGap Day 2016 USAPhoneGap Day 2016 USA
PhoneGap Day 2016 USA
 
Open Source Problem Solving
Open Source Problem SolvingOpen Source Problem Solving
Open Source Problem Solving
 
android marshmallow
android marshmallowandroid marshmallow
android marshmallow
 
Android marshmallow 6.0
Android marshmallow 6.0Android marshmallow 6.0
Android marshmallow 6.0
 
00 Android Wear Setup Emulator
00 Android Wear Setup Emulator00 Android Wear Setup Emulator
00 Android Wear Setup Emulator
 
Google IO 2015
Google IO 2015Google IO 2015
Google IO 2015
 
Android deep dive
Android deep diveAndroid deep dive
Android deep dive
 
Learn android course in Coimbatore|Android training institutes in coimbatore|...
Learn android course in Coimbatore|Android training institutes in coimbatore|...Learn android course in Coimbatore|Android training institutes in coimbatore|...
Learn android course in Coimbatore|Android training institutes in coimbatore|...
 

Ähnlich wie Second Screen Apps - On Google TV

iPad: The Most Valuable Screen Ever for TV & Film Producers
iPad: The Most Valuable Screen Ever for TV & Film ProducersiPad: The Most Valuable Screen Ever for TV & Film Producers
iPad: The Most Valuable Screen Ever for TV & Film ProducersAlex Gault
 
Yahoo! Connected TV - Developer Event - Device Communication
Yahoo! Connected TV - Developer Event - Device CommunicationYahoo! Connected TV - Developer Event - Device Communication
Yahoo! Connected TV - Developer Event - Device CommunicationYahooConnectedTV
 
Tizen-based Samsung TV SDK Overview
Tizen-based Samsung TV SDK OverviewTizen-based Samsung TV SDK Overview
Tizen-based Samsung TV SDK OverviewRyo Jin
 
Google tv opportunity_for_developers_peanut_l
Google tv opportunity_for_developers_peanut_lGoogle tv opportunity_for_developers_peanut_l
Google tv opportunity_for_developers_peanut_lss318
 
The Android STB: A Logical Step in the Evolution of TV
The Android STB: A Logical Step in the Evolution of TVThe Android STB: A Logical Step in the Evolution of TV
The Android STB: A Logical Step in the Evolution of TVBeenius
 
Christian Kurzke; Getting Your Content on the Big Screen
Christian Kurzke; Getting Your Content on the Big ScreenChristian Kurzke; Getting Your Content on the Big Screen
Christian Kurzke; Getting Your Content on the Big ScreenDroidcon Berlin
 
Android software development – the first few hours
Android software development – the first few hoursAndroid software development – the first few hours
Android software development – the first few hourssjmarsh
 
Android Interview Questions
Android Interview QuestionsAndroid Interview Questions
Android Interview QuestionsGaurav Mehta
 
Getting started with android dev and test perspective
Getting started with android   dev and test perspectiveGetting started with android   dev and test perspective
Getting started with android dev and test perspectiveGunjan Kumar
 
Intro to Google TV
Intro to Google TVIntro to Google TV
Intro to Google TVGauntFace
 
Using the Presentation API and external screens on Android
Using the Presentation API and external screens on AndroidUsing the Presentation API and external screens on Android
Using the Presentation API and external screens on AndroidXavier Hallade
 
UI_UX analysis of Netflix-like app.pptx
UI_UX analysis of Netflix-like app.pptxUI_UX analysis of Netflix-like app.pptx
UI_UX analysis of Netflix-like app.pptxeliana ward
 
GAE as Android Test Portal. Part 1.
GAE as Android Test Portal. Part 1.GAE as Android Test Portal. Part 1.
GAE as Android Test Portal. Part 1.Åsa Pehrsson
 
Video Streaming: from the native Android player to unconventional devices
Video Streaming: from the native Android player to unconventional devicesVideo Streaming: from the native Android player to unconventional devices
Video Streaming: from the native Android player to unconventional devicesAlessandro Martellucci
 
Mobile apps on the big screen
Mobile apps on the big screenMobile apps on the big screen
Mobile apps on the big screenHeinrich Seeger
 

Ähnlich wie Second Screen Apps - On Google TV (20)

iPad: The Most Valuable Screen Ever for TV & Film Producers
iPad: The Most Valuable Screen Ever for TV & Film ProducersiPad: The Most Valuable Screen Ever for TV & Film Producers
iPad: The Most Valuable Screen Ever for TV & Film Producers
 
Yahoo! Connected TV - Developer Event - Device Communication
Yahoo! Connected TV - Developer Event - Device CommunicationYahoo! Connected TV - Developer Event - Device Communication
Yahoo! Connected TV - Developer Event - Device Communication
 
Tizen-based Samsung TV SDK Overview
Tizen-based Samsung TV SDK OverviewTizen-based Samsung TV SDK Overview
Tizen-based Samsung TV SDK Overview
 
Ci for-android-apps
Ci for-android-appsCi for-android-apps
Ci for-android-apps
 
Andriod apps
Andriod appsAndriod apps
Andriod apps
 
Google tv opportunity_for_developers_peanut_l
Google tv opportunity_for_developers_peanut_lGoogle tv opportunity_for_developers_peanut_l
Google tv opportunity_for_developers_peanut_l
 
The Android STB: A Logical Step in the Evolution of TV
The Android STB: A Logical Step in the Evolution of TVThe Android STB: A Logical Step in the Evolution of TV
The Android STB: A Logical Step in the Evolution of TV
 
Christian Kurzke; Getting Your Content on the Big Screen
Christian Kurzke; Getting Your Content on the Big ScreenChristian Kurzke; Getting Your Content on the Big Screen
Christian Kurzke; Getting Your Content on the Big Screen
 
Android software development – the first few hours
Android software development – the first few hoursAndroid software development – the first few hours
Android software development – the first few hours
 
Android Interview Questions
Android Interview QuestionsAndroid Interview Questions
Android Interview Questions
 
Android interview questions
Android interview questionsAndroid interview questions
Android interview questions
 
Getting started with android dev and test perspective
Getting started with android   dev and test perspectiveGetting started with android   dev and test perspective
Getting started with android dev and test perspective
 
Intro to Google TV
Intro to Google TVIntro to Google TV
Intro to Google TV
 
Using the Presentation API and external screens on Android
Using the Presentation API and external screens on AndroidUsing the Presentation API and external screens on Android
Using the Presentation API and external screens on Android
 
Summary Of Polycom Cast App
Summary Of Polycom Cast AppSummary Of Polycom Cast App
Summary Of Polycom Cast App
 
UI_UX analysis of Netflix-like app.pptx
UI_UX analysis of Netflix-like app.pptxUI_UX analysis of Netflix-like app.pptx
UI_UX analysis of Netflix-like app.pptx
 
Smart TV and APIs
Smart TV and APIsSmart TV and APIs
Smart TV and APIs
 
GAE as Android Test Portal. Part 1.
GAE as Android Test Portal. Part 1.GAE as Android Test Portal. Part 1.
GAE as Android Test Portal. Part 1.
 
Video Streaming: from the native Android player to unconventional devices
Video Streaming: from the native Android player to unconventional devicesVideo Streaming: from the native Android player to unconventional devices
Video Streaming: from the native Android player to unconventional devices
 
Mobile apps on the big screen
Mobile apps on the big screenMobile apps on the big screen
Mobile apps on the big screen
 

Second Screen Apps - On Google TV