SlideShare une entreprise Scribd logo
1  sur  37
Télécharger pour lire hors ligne
Enlarge
your screen :-)
 Introducing the Google TV

     Matteo Bonifazi - Stefano Sanna

               GDG Roma




     Florence - 2012/10/19
Let’s talk about...
• Speakers

• Android happens elsewhere
• Google TV
 •   timeline
 •   how it works
 •   writing apps for the Google TV
 •   beyond the TV: second screen and Anymote


• DEMO

• Conclusion
                            Enlarge your screen
                       Matteo Bonifazi - Stefano Sanna
Ladies & gentlemen...

• Matteo Bonifazi
 •   Android Developer @ Open Reply Android Lab
 •   Member of GDG L-Ab Roma




• Stefano Sanna
 •   Head of Open Reply Android Lab
 •   Author (with E. Di Saverio) of
     “Android Programmazione Avanzata” (Ed. FAG)


                            Enlarge your screen
                       Matteo Bonifazi - Stefano Sanna
For most people Android is...




              Enlarge your screen
         Matteo Bonifazi - Stefano Sanna
Android happens elsewhere

• “Beyond the product” (being an operating
  system), Android is a rich eco-system: open
  source, widely supported by manufacturers
  and developers...

• Its strong and stable Linux foundation makes
  Android an affordable alternative to “typical
  Linux distribution” for embedded systems


                       Enlarge your screen
                  Matteo Bonifazi - Stefano Sanna
Today
Tomorrow
Today




     Enlarge your screen
Matteo Bonifazi - Stefano Sanna
Google TV

• Among these “unconventional” Android
  devices, the Google TV is the official platform
  for (upcoming?) interactive services “beyond
  smartphones and tablets”

• Although it has still not been announced in
  Italy, Google TV has landed in Europe (UK)
  this year and it will be available in other
  country later in 2012

                       Enlarge your screen
                  Matteo Bonifazi - Stefano Sanna
Timeline
• 2007/11
  •   Android is announced
• 2008/09
  •   T-Mobile G1 launched
• 2010/06
  •   Launch of Google TV 1st gen as a “closed platform”
• 2011/02
  •   Motorola Xoom officially brings Android into the tablet market
• 2011/08
  •   Google TV SDK (beta) is published: the platform is now open!
• 2011/10
  •   Google TV update includes Android Market
• 2011/11
  •   Ice Cream Sandwich merges smartphone and tablets in a single platform
• 2012/06
  •   Google TV 2.0 and Jelly Bean mark new Android evolution
                                       Enlarge your screen
                                  Matteo Bonifazi - Stefano Sanna
Google TV hardware

• First generation devices
 •   Sony NSZ-GT1 (Blu-ray Player)
 •   Sony NSX-40GT1 (Internet TV)
 •   Logitech Revue (set-top box)



• New generation devices
 •   LG 47G2/55G2 (Internet TV)
 •   Sony NSZ-GS7 (set-top box)
 •   Vizio Co-Star (set-top box)
 •   More to come later this year...

                              Enlarge your screen
                         Matteo Bonifazi - Stefano Sanna
Any TV with HDMI input
                                                                How it works


Any DVB-T, DVB-S, DVB-C
decoder with HDMI output




                                                 HDMI IN             HDMI OUT




                               Internet connection via                     Optional external
                                  Ethernet or WiFi                        storage via USB 2.0

                                        Enlarge your screen
                                   Matteo Bonifazi - Stefano Sanna
Logitech Revue
• First generation of Google TV device
• Based on Intel ATOM CPU

• Recently updated to Honeycomb 3.2
• Supports ADK, HLS and USB storage
• Affordable (about €150 with keyboard)

• Unfortunately it is no longer sold... but it can
  be easily found used or brand-new on ebay! :-)


                       Enlarge your screen
                  Matteo Bonifazi - Stefano Sanna
Sony NSZ-GS7
• Second generation of Google TV
• First STB launched in Europe (July 2012)!
• Based on ARM CPU
• Equipped with
  Honeycomb 3.2
• Not so cheap
  (about €250)
  with enhanced remote controller



                       Enlarge your screen
                  Matteo Bonifazi - Stefano Sanna
Google TV main features
• For end-users
 •   Rent movies and TV episodes on demand
 •   Youtube
 •   Chrome
 •   3rd party apps
 •   Movies, pictures, music on local storage


• For developers
 •   Honeycomb 3.2 platform
 •   Rich, powerful and well-known Android multiscreen API
 •   Google Play Store for distributing apps

                             Enlarge your screen
                        Matteo Bonifazi - Stefano Sanna
Google TV API
• The Google TV platform consist of

         0 (ZERO) NEW API
  over the “standard” platform!
• A new Content Provider and a few constants
  provide the way to address channel switching
  and filter platform specific features
• Android SDK and Eclipse are the basic toolkit
  for targeting the Google TV!
                      Enlarge your screen
                 Matteo Bonifazi - Stefano Sanna
Targeting the Google TV
 • The AndroidManifest.xml rules:
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="org.example.phototv" android:versionCode="1" android:versionName="1.0" >

    <uses-sdk android:minSdkVersion="13" android:targetSdkVersion="15" />

    <supports-screens
        android:anyDensity="true" android:largeScreens="true"
        android:normalScreens="false" android:smallScreens="false"
        android:xlargeScreens="false" />

    <uses-feature android:name="android.hardware.touchscreen" android:required="false" />
    <uses-feature android:name="com.google.android.tv" android:required="true"/>

    <uses-permission android:name="com.google.android.tv.permission.READ_CHANNELS">

    <application
        android:icon="@drawable/ic_launcher" android:label="@string/app_name" >
        <activity android:screenOrientation="unspecified"
            android:name=".PhotoTV" android:label="@string/app_name">
            <intent-filter> [...] </intent-filter>
        </activity>
    </application>

</manifest>


                                        Enlarge your screen
                                   Matteo Bonifazi - Stefano Sanna
Test environment
• The best is to have a real set-top box

• If not available, install the Google TV Add-on
  •   Runs on Linux 64bit with KVM Kernel
  •   Can’t run on virtual environments
  •   Does not support video streaming (as for Platform 1.0)


• The DIY way: a old-fashioned Android 1.x
  device (HTC Dream, HTC Magic, Samsung
  Galaxy) with D-PAD can be used to test
  navigation!
                              Enlarge your screen
                         Matteo Bonifazi - Stefano Sanna
Configure the set-top box
• Run the initial configuration (language, screen
  size, network, Google Account...)
• Apps deployment and debugging is over the
  network connection. USB ports work in host
  mode.
• Try to have a fixed IP address for both Google
  TV STB and development workstation
• Enable remote debugging and assign remote
  debugging host IP
  •   If using a Logitech Revue: set resolution to 720p (sigh!) to get
      screenshots via ADB
                               Enlarge your screen
                          Matteo Bonifazi - Stefano Sanna
Let them find each other... :-)



set-top
  box




 host       AndroidDev:~ gdx$ adb connect GTV_IP_ADDRESS


                      Enlarge your screen
                 Matteo Bonifazi - Stefano Sanna
Size and density
• The TV screen is classified as “large”

• HD Ready TV (720p) are classified as tvdpi
  density, 213 dpi

• Full HD TV (1080p) are classified as xhdpi
  density, 320 dpi

• 720p and 1080p have the same “independent”
  resolution: 960x540dp
                       Enlarge your screen
                  Matteo Bonifazi - Stefano Sanna
Size, density and distance
TV Full HD
30” - 320dpi
                        smartphone
                        5” - 320dpi




                                      30-50cm


                300cm
The 10ft environment

• The UI is at 10ft (about 3m) from the user
  which
  •   is in a relaxing/funny environment
  •   is shared with family and friends
  •   is in a dimmed environment
  •   provides (high quality) audio that is not (usually) optional
  •   has no keyboards and mouse/touchpads, that are (usually)
      replaced by compact remote controllers with simple 5-way
      navigation (aka D-PAD)



                               Enlarge your screen
                          Matteo Bonifazi - Stefano Sanna
A closer look to the controller
                                D-PAD, BACK, MENU,
                                    HOME, PiP



  An embedded accelerometer disables
 the QWERTY keyboard when using the
  trackpad, which is disabled when using
            the back keyboard




                                                                       TRACKPAD with hard
                                                                        button (as in MBP)
BACK-LIGHT QWERTY
    KEYBOARD                              Enlarge your screen
                                     Matteo Bonifazi - Stefano Sanna
Good practices
• UI
 •   Dynamic layouts and relative sizes are encouraged
 •   Different screens may have different overscan areas: never
     rely on physical pixels!!!
 •   App layout should be divided in three areas:
     global, contextual and detail




                            Source:
                             https://developers.google.com/tv/android/docs/gtv_android_patterns
                             Enlarge your screen
                        Matteo Bonifazi - Stefano Sanna
Good practices
• Navigation
 •   Every App should be implemented according to D-PAD
     navigability
 •   All the controls in each View has to be get through the D-PAD
• Controls
 •   Avoid long typing: try, if possible, to suggest texts,
     shortcuts...
 •   Limit use of pointing
     device
 •   False friend: “it seems a
     big tablet”. It is not.
     The user can’t swipe on
     it!
 •   BACK is your friend!
                               Source:
                                https://developers.google.com/tv/android/docs/gtv_android_patterns
                               Enlarge your screen
                          Matteo Bonifazi - Stefano Sanna
DEMO

a photo viewer


        Enlarge your screen
   Matteo Bonifazi - Stefano Sanna
Album selection   Photo viewer “views”




                                                     Album overview




Picture browser


                        Enlarge your screen
                   Matteo Bonifazi - Stefano Sanna
Main and sub navigation
• The developer has to identify main navigation (on
  the detail view, where the user spends more of his
  time) and sub navigation (contextual view, used less
  often)
• In the photo browser app:
  •   Likelihood, the user will spend most of time browsing photos of an
      album, instead of jumping between albums
  •   The main navigation is the photo browser within an album
  •   The sub navigation is the selection of an album
• The main navigation should performed using just
  the D-PAD
• The sub navigation could be accessed using
  secondary button (e.g., MENU and BACK)
                                 Enlarge your screen
                            Matteo Bonifazi - Stefano Sanna
                                                              Google will forgive us for this... ;-)
Navigation
                              NAV:
              CENTER    UP/DOWN/LEFT/RIGHT


               MENU
  NAV:
UP/DOWN
                         BACK
                                   CENTER
                       MENU


             CENTER

                               NAV:
                            LEFT/RIGHT

   NAV:        BACK
LEFT/RIGHT
Beyond the TV




        Enlarge your screen
   Matteo Bonifazi - Stefano Sanna
Second Screen applications
• Enhance interactions between Google TV and
  others device ( smartphone,tablets,etc.)
• Adding more functionality for the Google TV
  itself
• Huge opportunities to develop new different
  kind of application




  Able Remote: Transform your Android                         Multiplayer Games: Android device is the
  device in a custom Google TV Remote                         joystick and the TV is the controller

                                         Enlarge your screen
                                    Matteo Bonifazi - Stefano Sanna
Anymote
• Anymote protocol is IP layer protocol

• Devices use TLS/SSL to avoid sniffing issues

• Thanks to Anymote service Google TV stb can
  receive and respond to Anymote messages

• In order to communicate with the Google TV, a
  remote app does:
  •   Identifies Google TV
  •   Authenticates the device through Paring Protocol
  •   Sends events (connection, key, mouse, trackball...)
                               Enlarge your screen
                          Matteo Bonifazi - Stefano Sanna
Conclusions
• Have fun with smartphones and tablet, but
  don’t forget that it is only the beginning!

• Google TV enlarges “screens and
  opportunities”
  •   new entertainment machine for people not so comfortable
      with computers
  •   second screen applications may enhance UX and encourage
      gaming
  •   Google TV could be the cornerstone of new home automation
      application and services: the STB is always powered, always
      connected, always accessible

                              Enlarge your screen
                         Matteo Bonifazi - Stefano Sanna
Resources

• Google TV
 •   http://www.google.com/tv/
 •   https://developers.google.com/tv/
 •   http://googletv.blogspot.it/


• Hardware and community
 •   http://store.sony.com/p/NSZ-GS7/en/p/NSZGS7
 •   http://www.vizio.com/costar/overview
 •   http://www.gtvhacker.com/



                             Enlarge your screen
                        Matteo Bonifazi - Stefano Sanna
Contacts

• Matteo Bonifazi
 •   dekra06 AT gmail DOT com
 •   @mbonifazi


• Stefano Sanna
 •   gerdavax AT gmail DOT com
 •   @gerdavax
 •   http://www.gerdavax.it
 •   http://www.androidavanzato.it



                             Enlarge your screen
                        Matteo Bonifazi - Stefano Sanna
Thank you

Contenu connexe

Tendances

Rubato Introduction
Rubato IntroductionRubato Introduction
Rubato Introduction
jdiloreto
 
Android Programming Basic
Android Programming BasicAndroid Programming Basic
Android Programming Basic
Duy Do Phan
 
Qt World Summit 2015 Talk by V-Play: How to Develop with Qt for Multiple Scre...
Qt World Summit 2015 Talk by V-Play: How to Develop with Qt for Multiple Scre...Qt World Summit 2015 Talk by V-Play: How to Develop with Qt for Multiple Scre...
Qt World Summit 2015 Talk by V-Play: How to Develop with Qt for Multiple Scre...
FELGO SDK
 
Collaborative Development for the future of Mobile
Collaborative Development for the future of MobileCollaborative Development for the future of Mobile
Collaborative Development for the future of Mobile
Andrew Savory
 

Tendances (20)

Android introduction
Android introductionAndroid introduction
Android introduction
 
Rubato Introduction
Rubato IntroductionRubato Introduction
Rubato Introduction
 
Android Programming
Android ProgrammingAndroid Programming
Android Programming
 
Android Programming Basic
Android Programming BasicAndroid Programming Basic
Android Programming Basic
 
Presentation on video editing
Presentation on video editingPresentation on video editing
Presentation on video editing
 
Google teams up with ubuntu to bring linux desktop app support to flutter
 Google teams up with ubuntu to bring linux desktop app support to flutter Google teams up with ubuntu to bring linux desktop app support to flutter
Google teams up with ubuntu to bring linux desktop app support to flutter
 
Introduction to Ubuntu Edge Operating System (Ubuntu Touch)
Introduction to Ubuntu Edge Operating System (Ubuntu Touch)Introduction to Ubuntu Edge Operating System (Ubuntu Touch)
Introduction to Ubuntu Edge Operating System (Ubuntu Touch)
 
Qt World Summit 2015 Talk by V-Play: How to Develop with Qt for Multiple Scre...
Qt World Summit 2015 Talk by V-Play: How to Develop with Qt for Multiple Scre...Qt World Summit 2015 Talk by V-Play: How to Develop with Qt for Multiple Scre...
Qt World Summit 2015 Talk by V-Play: How to Develop with Qt for Multiple Scre...
 
ExoPlayer for Application developers
ExoPlayer for Application developersExoPlayer for Application developers
ExoPlayer for Application developers
 
Qditor user guide for windows pc
Qditor user guide for windows pcQditor user guide for windows pc
Qditor user guide for windows pc
 
Getting Android Developers for Your Wearables
Getting Android Developers for Your WearablesGetting Android Developers for Your Wearables
Getting Android Developers for Your Wearables
 
Stefano Fornari - Come creare e far crescere un progetto ed una community ope...
Stefano Fornari - Come creare e far crescere un progetto ed una community ope...Stefano Fornari - Come creare e far crescere un progetto ed una community ope...
Stefano Fornari - Come creare e far crescere un progetto ed una community ope...
 
Android OS - The Journey of most popular Operating System
Android OS - The Journey of most popular Operating SystemAndroid OS - The Journey of most popular Operating System
Android OS - The Journey of most popular Operating System
 
Deep Inside Android Hacks
Deep Inside Android HacksDeep Inside Android Hacks
Deep Inside Android Hacks
 
Introduction of oesf education consortium
Introduction of oesf education consortiumIntroduction of oesf education consortium
Introduction of oesf education consortium
 
Android Development Tutorial V3
Android Development Tutorial   V3Android Development Tutorial   V3
Android Development Tutorial V3
 
Android Development Basics
Android Development BasicsAndroid Development Basics
Android Development Basics
 
Collaborative Development for the future of Mobile
Collaborative Development for the future of MobileCollaborative Development for the future of Mobile
Collaborative Development for the future of Mobile
 
Android Development Workshop
Android Development WorkshopAndroid Development Workshop
Android Development Workshop
 
Sony Vegas Pro 13.0 Instruction Manual and Guide - English
Sony Vegas Pro 13.0 Instruction Manual and Guide - EnglishSony Vegas Pro 13.0 Instruction Manual and Guide - English
Sony Vegas Pro 13.0 Instruction Manual and Guide - English
 

En vedette

Introducing Amazon Fire TV
Introducing Amazon Fire TVIntroducing Amazon Fire TV
Introducing Amazon Fire TV
JJ Wu
 
Product Launching Presentation
Product Launching PresentationProduct Launching Presentation
Product Launching Presentation
dianaists
 

En vedette (16)

EPD system: introducing Environmental product declaration
EPD system: introducing Environmental product declarationEPD system: introducing Environmental product declaration
EPD system: introducing Environmental product declaration
 
Introducing TV White Spaces
Introducing TV White SpacesIntroducing TV White Spaces
Introducing TV White Spaces
 
STaR Chart
STaR ChartSTaR Chart
STaR Chart
 
The Closing Touch
The Closing TouchThe Closing Touch
The Closing Touch
 
Introducing Amazon Fire TV
Introducing Amazon Fire TVIntroducing Amazon Fire TV
Introducing Amazon Fire TV
 
TV White Space
TV White SpaceTV White Space
TV White Space
 
Dịch vụ di động Mobifone
Dịch vụ di động MobifoneDịch vụ di động Mobifone
Dịch vụ di động Mobifone
 
samsung vrf dvm s 2013 sac catalouge
samsung vrf dvm s 2013 sac catalougesamsung vrf dvm s 2013 sac catalouge
samsung vrf dvm s 2013 sac catalouge
 
INTRODUCING NEW PRODUCT AND SERVICE TO INTERNATIONAL MARKET - TOYOTA CASE STUDY
INTRODUCING NEW PRODUCT AND SERVICE TO INTERNATIONAL MARKET - TOYOTA CASE STUDYINTRODUCING NEW PRODUCT AND SERVICE TO INTERNATIONAL MARKET - TOYOTA CASE STUDY
INTRODUCING NEW PRODUCT AND SERVICE TO INTERNATIONAL MARKET - TOYOTA CASE STUDY
 
How to bring a product to market
How to bring a product to marketHow to bring a product to market
How to bring a product to market
 
Solar charger new product launch - Rahul avasthy
Solar charger  new product launch - Rahul avasthySolar charger  new product launch - Rahul avasthy
Solar charger new product launch - Rahul avasthy
 
Product Launching Presentation
Product Launching PresentationProduct Launching Presentation
Product Launching Presentation
 
Solar Mobile Charger Report
Solar Mobile Charger ReportSolar Mobile Charger Report
Solar Mobile Charger Report
 
Product Launch Presentation By Linda Johnson
Product Launch Presentation By Linda JohnsonProduct Launch Presentation By Linda Johnson
Product Launch Presentation By Linda Johnson
 
Solar Mobile Charger PPT
Solar Mobile Charger PPTSolar Mobile Charger PPT
Solar Mobile Charger PPT
 
LUMA's Upfront Summit Keynote: "The Future of TV"
LUMA's Upfront Summit Keynote: "The Future of TV"LUMA's Upfront Summit Keynote: "The Future of TV"
LUMA's Upfront Summit Keynote: "The Future of TV"
 

Similaire à Enlarge your screen: introducing the Google TV

Mobile apps on the big screen
Mobile apps on the big screenMobile apps on the big screen
Mobile apps on the big screen
Heinrich Seeger
 
Developing Android Applications for Google TV - Android Developer Lab 2011
Developing Android Applications for Google TV - Android Developer Lab 2011Developing Android Applications for Google TV - Android Developer Lab 2011
Developing Android Applications for Google TV - Android Developer Lab 2011
Paris Android User Group
 
Hu9000 spec sheet_7_31_14
Hu9000 spec sheet_7_31_14Hu9000 spec sheet_7_31_14
Hu9000 spec sheet_7_31_14
Rizwan Nsr
 
Google TV - Droidcon Murcia
Google TV - Droidcon MurciaGoogle TV - Droidcon Murcia
Google TV - Droidcon Murcia
Iñaki Villar
 
1620 tablet monsoon showcase
1620 tablet monsoon showcase1620 tablet monsoon showcase
1620 tablet monsoon showcase
Jeff Loechner
 

Similaire à Enlarge your screen: introducing the Google TV (20)

Mobile apps on the big screen
Mobile apps on the big screenMobile apps on the big screen
Mobile apps on the big screen
 
Ifa Report - public part
Ifa Report - public partIfa Report - public part
Ifa Report - public part
 
Developing Android Applications for Google TV - Android Developer Lab 2011
Developing Android Applications for Google TV - Android Developer Lab 2011Developing Android Applications for Google TV - Android Developer Lab 2011
Developing Android Applications for Google TV - Android Developer Lab 2011
 
I tube tr
I tube trI tube tr
I tube tr
 
Google TV: Thoughts From Left Field
Google TV: Thoughts From Left FieldGoogle TV: Thoughts From Left Field
Google TV: Thoughts From Left Field
 
From desktop to big screens
From desktop to big screens From desktop to big screens
From desktop to big screens
 
ASUS CUBE with Google TV
ASUS CUBE with Google TVASUS CUBE with Google TV
ASUS CUBE with Google TV
 
Hu9000 spec sheet_7_31_14
Hu9000 spec sheet_7_31_14Hu9000 spec sheet_7_31_14
Hu9000 spec sheet_7_31_14
 
Migrating to Android TV
Migrating to Android TVMigrating to Android TV
Migrating to Android TV
 
What is a tv box from Tronfy
What is a tv box from TronfyWhat is a tv box from Tronfy
What is a tv box from Tronfy
 
What Are Famous TV Brands Best Known For [Slideshare]
What Are Famous TV Brands Best Known For [Slideshare]What Are Famous TV Brands Best Known For [Slideshare]
What Are Famous TV Brands Best Known For [Slideshare]
 
Google tv
Google tvGoogle tv
Google tv
 
CES 2011 Recap - by @AdamB
CES 2011 Recap - by @AdamBCES 2011 Recap - by @AdamB
CES 2011 Recap - by @AdamB
 
Netgear
NetgearNetgear
Netgear
 
Ministry and Media Technologies - Pro Tips
Ministry and Media Technologies - Pro TipsMinistry and Media Technologies - Pro Tips
Ministry and Media Technologies - Pro Tips
 
Google TV - Droidcon Murcia
Google TV - Droidcon MurciaGoogle TV - Droidcon Murcia
Google TV - Droidcon Murcia
 
Smart TV Box, 1.6GHz CUP with Android 4.1
Smart TV Box, 1.6GHz CUP with Android 4.1Smart TV Box, 1.6GHz CUP with Android 4.1
Smart TV Box, 1.6GHz CUP with Android 4.1
 
1620 tablet monsoon showcase
1620 tablet monsoon showcase1620 tablet monsoon showcase
1620 tablet monsoon showcase
 
Azbox me
Azbox meAzbox me
Azbox me
 
Smart TV Essentials for OEM/ODM
Smart TV Essentials for OEM/ODMSmart TV Essentials for OEM/ODM
Smart TV Essentials for OEM/ODM
 

Plus de Stefano Sanna

NFC: tecnologia e applicazioni
NFC: tecnologia e applicazioniNFC: tecnologia e applicazioni
NFC: tecnologia e applicazioni
Stefano Sanna
 
Comunicazione Pervasiva
Comunicazione PervasivaComunicazione Pervasiva
Comunicazione Pervasiva
Stefano Sanna
 

Plus de Stefano Sanna (20)

Mobile Security su Android - LinuxDay 2018
Mobile Security su Android - LinuxDay 2018Mobile Security su Android - LinuxDay 2018
Mobile Security su Android - LinuxDay 2018
 
Android Things, from mobile apps to physical world
Android Things, from mobile apps to physical worldAndroid Things, from mobile apps to physical world
Android Things, from mobile apps to physical world
 
Android Things Linux Day 2017
Android Things Linux Day 2017 Android Things Linux Day 2017
Android Things Linux Day 2017
 
Android Things in action
Android Things in actionAndroid Things in action
Android Things in action
 
Introduzione alla tecnologia iBeacon
Introduzione alla tecnologia iBeaconIntroduzione alla tecnologia iBeacon
Introduzione alla tecnologia iBeacon
 
Augmented Smartphone
Augmented SmartphoneAugmented Smartphone
Augmented Smartphone
 
Bluetooth Low Energy
Bluetooth Low EnergyBluetooth Low Energy
Bluetooth Low Energy
 
Google TV: la nuova frontiera Android
Google TV: la nuova frontiera AndroidGoogle TV: la nuova frontiera Android
Google TV: la nuova frontiera Android
 
Introduzione ad NFC
Introduzione ad NFCIntroduzione ad NFC
Introduzione ad NFC
 
NFC: tecnologia e applicazioni
NFC: tecnologia e applicazioniNFC: tecnologia e applicazioni
NFC: tecnologia e applicazioni
 
Android - Programmazione Avanzata
Android -  Programmazione AvanzataAndroid -  Programmazione Avanzata
Android - Programmazione Avanzata
 
HCIM08 - Mobile Applications
HCIM08 - Mobile ApplicationsHCIM08 - Mobile Applications
HCIM08 - Mobile Applications
 
Android & Bluetooth: hacking e applicazioni
Android & Bluetooth: hacking e applicazioniAndroid & Bluetooth: hacking e applicazioni
Android & Bluetooth: hacking e applicazioni
 
Application Store: opportunita' e trappole
Application Store: opportunita' e trappoleApplication Store: opportunita' e trappole
Application Store: opportunita' e trappole
 
Android Bluetooth Hacking
Android Bluetooth HackingAndroid Bluetooth Hacking
Android Bluetooth Hacking
 
Android
AndroidAndroid
Android
 
Free Software e Open Hardware
Free Software e Open HardwareFree Software e Open Hardware
Free Software e Open Hardware
 
Playing with Mobile 2.0
Playing with Mobile 2.0Playing with Mobile 2.0
Playing with Mobile 2.0
 
Sun SPOT
Sun SPOTSun SPOT
Sun SPOT
 
Comunicazione Pervasiva
Comunicazione PervasivaComunicazione Pervasiva
Comunicazione Pervasiva
 

Dernier

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Dernier (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 

Enlarge your screen: introducing the Google TV

  • 1. Enlarge your screen :-) Introducing the Google TV Matteo Bonifazi - Stefano Sanna GDG Roma Florence - 2012/10/19
  • 2. Let’s talk about... • Speakers • Android happens elsewhere • Google TV • timeline • how it works • writing apps for the Google TV • beyond the TV: second screen and Anymote • DEMO • Conclusion Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 3. Ladies & gentlemen... • Matteo Bonifazi • Android Developer @ Open Reply Android Lab • Member of GDG L-Ab Roma • Stefano Sanna • Head of Open Reply Android Lab • Author (with E. Di Saverio) of “Android Programmazione Avanzata” (Ed. FAG) Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 4. For most people Android is... Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 5. Android happens elsewhere • “Beyond the product” (being an operating system), Android is a rich eco-system: open source, widely supported by manufacturers and developers... • Its strong and stable Linux foundation makes Android an affordable alternative to “typical Linux distribution” for embedded systems Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 8. Today Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 9. Google TV • Among these “unconventional” Android devices, the Google TV is the official platform for (upcoming?) interactive services “beyond smartphones and tablets” • Although it has still not been announced in Italy, Google TV has landed in Europe (UK) this year and it will be available in other country later in 2012 Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 10. Timeline • 2007/11 • Android is announced • 2008/09 • T-Mobile G1 launched • 2010/06 • Launch of Google TV 1st gen as a “closed platform” • 2011/02 • Motorola Xoom officially brings Android into the tablet market • 2011/08 • Google TV SDK (beta) is published: the platform is now open! • 2011/10 • Google TV update includes Android Market • 2011/11 • Ice Cream Sandwich merges smartphone and tablets in a single platform • 2012/06 • Google TV 2.0 and Jelly Bean mark new Android evolution Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 11. Google TV hardware • First generation devices • Sony NSZ-GT1 (Blu-ray Player) • Sony NSX-40GT1 (Internet TV) • Logitech Revue (set-top box) • New generation devices • LG 47G2/55G2 (Internet TV) • Sony NSZ-GS7 (set-top box) • Vizio Co-Star (set-top box) • More to come later this year... Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 12. Any TV with HDMI input How it works Any DVB-T, DVB-S, DVB-C decoder with HDMI output HDMI IN HDMI OUT Internet connection via Optional external Ethernet or WiFi storage via USB 2.0 Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 13. Logitech Revue • First generation of Google TV device • Based on Intel ATOM CPU • Recently updated to Honeycomb 3.2 • Supports ADK, HLS and USB storage • Affordable (about €150 with keyboard) • Unfortunately it is no longer sold... but it can be easily found used or brand-new on ebay! :-) Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 14. Sony NSZ-GS7 • Second generation of Google TV • First STB launched in Europe (July 2012)! • Based on ARM CPU • Equipped with Honeycomb 3.2 • Not so cheap (about €250) with enhanced remote controller Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 15. Google TV main features • For end-users • Rent movies and TV episodes on demand • Youtube • Chrome • 3rd party apps • Movies, pictures, music on local storage • For developers • Honeycomb 3.2 platform • Rich, powerful and well-known Android multiscreen API • Google Play Store for distributing apps Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 16. Google TV API • The Google TV platform consist of 0 (ZERO) NEW API over the “standard” platform! • A new Content Provider and a few constants provide the way to address channel switching and filter platform specific features • Android SDK and Eclipse are the basic toolkit for targeting the Google TV! Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 17. Targeting the Google TV • The AndroidManifest.xml rules: <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.example.phototv" android:versionCode="1" android:versionName="1.0" > <uses-sdk android:minSdkVersion="13" android:targetSdkVersion="15" /> <supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="false" android:smallScreens="false" android:xlargeScreens="false" /> <uses-feature android:name="android.hardware.touchscreen" android:required="false" /> <uses-feature android:name="com.google.android.tv" android:required="true"/> <uses-permission android:name="com.google.android.tv.permission.READ_CHANNELS"> <application android:icon="@drawable/ic_launcher" android:label="@string/app_name" > <activity android:screenOrientation="unspecified" android:name=".PhotoTV" android:label="@string/app_name"> <intent-filter> [...] </intent-filter> </activity> </application> </manifest> Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 18. Test environment • The best is to have a real set-top box • If not available, install the Google TV Add-on • Runs on Linux 64bit with KVM Kernel • Can’t run on virtual environments • Does not support video streaming (as for Platform 1.0) • The DIY way: a old-fashioned Android 1.x device (HTC Dream, HTC Magic, Samsung Galaxy) with D-PAD can be used to test navigation! Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 19. Configure the set-top box • Run the initial configuration (language, screen size, network, Google Account...) • Apps deployment and debugging is over the network connection. USB ports work in host mode. • Try to have a fixed IP address for both Google TV STB and development workstation • Enable remote debugging and assign remote debugging host IP • If using a Logitech Revue: set resolution to 720p (sigh!) to get screenshots via ADB Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 20. Let them find each other... :-) set-top box host AndroidDev:~ gdx$ adb connect GTV_IP_ADDRESS Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 21. Size and density • The TV screen is classified as “large” • HD Ready TV (720p) are classified as tvdpi density, 213 dpi • Full HD TV (1080p) are classified as xhdpi density, 320 dpi • 720p and 1080p have the same “independent” resolution: 960x540dp Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 22. Size, density and distance TV Full HD 30” - 320dpi smartphone 5” - 320dpi 30-50cm 300cm
  • 23. The 10ft environment • The UI is at 10ft (about 3m) from the user which • is in a relaxing/funny environment • is shared with family and friends • is in a dimmed environment • provides (high quality) audio that is not (usually) optional • has no keyboards and mouse/touchpads, that are (usually) replaced by compact remote controllers with simple 5-way navigation (aka D-PAD) Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 24. A closer look to the controller D-PAD, BACK, MENU, HOME, PiP An embedded accelerometer disables the QWERTY keyboard when using the trackpad, which is disabled when using the back keyboard TRACKPAD with hard button (as in MBP) BACK-LIGHT QWERTY KEYBOARD Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 25. Good practices • UI • Dynamic layouts and relative sizes are encouraged • Different screens may have different overscan areas: never rely on physical pixels!!! • App layout should be divided in three areas: global, contextual and detail Source: https://developers.google.com/tv/android/docs/gtv_android_patterns Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 26. Good practices • Navigation • Every App should be implemented according to D-PAD navigability • All the controls in each View has to be get through the D-PAD • Controls • Avoid long typing: try, if possible, to suggest texts, shortcuts... • Limit use of pointing device • False friend: “it seems a big tablet”. It is not. The user can’t swipe on it! • BACK is your friend! Source: https://developers.google.com/tv/android/docs/gtv_android_patterns Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 27. DEMO a photo viewer Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 28. Album selection Photo viewer “views” Album overview Picture browser Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 29. Main and sub navigation • The developer has to identify main navigation (on the detail view, where the user spends more of his time) and sub navigation (contextual view, used less often) • In the photo browser app: • Likelihood, the user will spend most of time browsing photos of an album, instead of jumping between albums • The main navigation is the photo browser within an album • The sub navigation is the selection of an album • The main navigation should performed using just the D-PAD • The sub navigation could be accessed using secondary button (e.g., MENU and BACK) Enlarge your screen Matteo Bonifazi - Stefano Sanna Google will forgive us for this... ;-)
  • 30. Navigation NAV: CENTER UP/DOWN/LEFT/RIGHT MENU NAV: UP/DOWN BACK CENTER MENU CENTER NAV: LEFT/RIGHT NAV: BACK LEFT/RIGHT
  • 31. Beyond the TV Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 32. Second Screen applications • Enhance interactions between Google TV and others device ( smartphone,tablets,etc.) • Adding more functionality for the Google TV itself • Huge opportunities to develop new different kind of application Able Remote: Transform your Android Multiplayer Games: Android device is the device in a custom Google TV Remote joystick and the TV is the controller Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 33. Anymote • Anymote protocol is IP layer protocol • Devices use TLS/SSL to avoid sniffing issues • Thanks to Anymote service Google TV stb can receive and respond to Anymote messages • In order to communicate with the Google TV, a remote app does: • Identifies Google TV • Authenticates the device through Paring Protocol • Sends events (connection, key, mouse, trackball...) Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 34. Conclusions • Have fun with smartphones and tablet, but don’t forget that it is only the beginning! • Google TV enlarges “screens and opportunities” • new entertainment machine for people not so comfortable with computers • second screen applications may enhance UX and encourage gaming • Google TV could be the cornerstone of new home automation application and services: the STB is always powered, always connected, always accessible Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 35. Resources • Google TV • http://www.google.com/tv/ • https://developers.google.com/tv/ • http://googletv.blogspot.it/ • Hardware and community • http://store.sony.com/p/NSZ-GS7/en/p/NSZGS7 • http://www.vizio.com/costar/overview • http://www.gtvhacker.com/ Enlarge your screen Matteo Bonifazi - Stefano Sanna
  • 36. Contacts • Matteo Bonifazi • dekra06 AT gmail DOT com • @mbonifazi • Stefano Sanna • gerdavax AT gmail DOT com • @gerdavax • http://www.gerdavax.it • http://www.androidavanzato.it Enlarge your screen Matteo Bonifazi - Stefano Sanna