SlideShare una empresa de Scribd logo
1 de 50
Descargar para leer sin conexión
Google TV
            GDG@BCN
GDG@BCN

What is Google TV

Developing for TV

Developing for Google TV

Developing Second screens

Adapting sites/webapps
What is Google TV
What is Google TV
What is Google TV
What is Google TV
What is Google TV
What is Google TV
TV
TV
TV
TV
GTV
GTV
GTV


      px = dp * (dpi/160)
GTV


      px = dp * (dpi/160)


      dp=(px/dpi) * 160
GTV


      px = dp * (dpi/160)


      dp=(px/dpi) * 160


      dp1 = (720 / 213) * 160


      dp2 = (1080 / 320) * 160
GTV


      px = dp * (dpi/160)


      dp=(px/dpi) * 160


      dp1 = (720 / 213) * 160


      dp2 = (1080 / 320) * 160


      dp1 = dp2
GTV
GTV


android.hardware.bluetooth              android.hardware.sensor.barometer


android.hardware.camera                 android.hardware.sensor.compass


android.hardware.location.gps           android.hardware.telephony


android.hardware.microphone             android.hardware.touchscreen


android.hardware.nfc                    android.hardware.touchscreen.multitouch


android.hardware.sensor.accelerometer   android.hardware.sensor.light
GTV
GTV
GTV
GTV
GTV




http://code.google.com/p/googletv-android-samples/source/browse/#git%2FLeftNavBarDemo
http://code.google.com/p/googletv-android-samples/source/browse/#git%2FLeftNavBarLibrary
GTV

 private LeftNavBar mLeftNavBar;
 ...



 private LeftNavBar getLeftNavBar() {
    if (mLeftNavBar == null) {
       mLeftNavBar = new LeftNavBar(this);
    }
   return mLeftNavBar;
 }
GTV
GTV
GTV
GTV
GTV


<uses-feature android:name="android.hardware.touchscreen" android:
required="false"/>
GTV


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




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


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




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




<supports-screens android:largeScreens="true"/>
GTV
#F1F1F1

BOLD fonts

Dark background
GTV
#F1F1F1

BOLD fonts

Dark background

Short lines / Line Spacing
GTV
#F1F1F1

BOLD fonts

Dark background

Short lines / Line Spacing

UI feedback. StateListDrawable
GTV
#F1F1F1

BOLD fonts

Dark background

Short lines / Line Spacing

UI feedback. StateListDrawable

Low Volume

setRequestedOrientation(ActivityInfo.
SCREEN_ORIENTATION_PORTRAIT);
GTV
#F1F1F1

BOLD fonts

Dark background

Short lines / Line Spacing

UI feedback. StateListDrawable

Low Volume

setRequestedOrientation(ActivityInfo.
SCREEN_ORIENTATION_PORTRAIT);
Second-Screen Apps
Second-Screen Apps

Discovers a Google TV device (mDNS)
Second-Screen Apps

Discovers a Google TV device (mDNS)


Authenticates itself with the Google TV device.
Second-Screen Apps
private void sendKeyEvent(final int keyEvent) {
   // create new Thread to avoid network operations on UI Thread
   new Thread(new Runnable() {
       public void run() {
         anymoteSender.sendKeyPress(keyEvent);
       }
   }).start();
Second-Screen Apps
private void sendKeyEvent(final int keyEvent) {
   // create new Thread to avoid network operations on UI Thread
   new Thread(new Runnable() {
       public void run() {
         anymoteSender.sendKeyPress(keyEvent);
       }
   }).start();


final Intent intent = new Intent();
intent.setAction ("com.example.googletv.myApp.VIEW_ACTION");
anymoteSender.sendUrl (intent.toUri(Intent.URI_INTENT_SCHEME));
Second-Screen Apps
private void sendKeyEvent(final int keyEvent) {
   // create new Thread to avoid network operations on UI Thread
   new Thread(new Runnable() {
       public void run() {
         anymoteSender.sendKeyPress(keyEvent);
       }
   }).start();


final Intent intent = new Intent();
intent.setAction ("com.example.googletv.myApp.VIEW_ACTION");
anymoteSender.sendUrl (intent.toUri(Intent.URI_INTENT_SCHEME));


final Intent intent = new Intent(Intent.ACTION_VIEW,
Uri.parse("http://<webpage_url>");
anymoteSender.sendUrl (intent.toUri(Intent.URI_INTENT_SCHEME));
Second-Screen Apps
Google TV Remote:   http://goo.gl/ViqXE
Chrome
Chrome




HTML5 / CSS3

jQuery - Clousure
Chrome




HTML5 / CSS3

jQuery - Clousure

Optimized Templates
Chrome
Q&A
References:
https://developers.google.com
http://code.google.com/p/googletv-android-samples
http://en.wikipedia.org/wiki/10-foot_user_interface
https://developers.google.com/tv/web/docs/spotlight
http://code.google.com/p/anymote-protocol/
https://code.google.com/p/google-tv-chrome-extensions/
https://developers.google.com/tv/android/docs/gtv_presentations



Iñaki Villar
inaki.seri@gmail.com
@inyaki_mwc
+Iñaki Villar

Más contenido relacionado

Destacado (7)

Mudah datang dan medah pergi
Mudah datang dan medah pergiMudah datang dan medah pergi
Mudah datang dan medah pergi
 
Ready for Business Presentation to the University of Exeter
Ready for Business Presentation to the University of ExeterReady for Business Presentation to the University of Exeter
Ready for Business Presentation to the University of Exeter
 
Google TV - Droidcon Murcia
Google TV - Droidcon MurciaGoogle TV - Droidcon Murcia
Google TV - Droidcon Murcia
 
Preliminary task evaluation
Preliminary task evaluationPreliminary task evaluation
Preliminary task evaluation
 
Web 2.0 Application: Protopage Draft!
Web 2.0 Application: Protopage Draft!Web 2.0 Application: Protopage Draft!
Web 2.0 Application: Protopage Draft!
 
Android based
Android basedAndroid based
Android based
 
Introduction to Arema Connect
Introduction to Arema ConnectIntroduction to Arema Connect
Introduction to Arema Connect
 

Similar a Google tv

Testing of javacript
Testing of javacriptTesting of javacript
Testing of javacript
Lei Kang
 
Звиад Кардава "Android Things + Google Weave"
Звиад Кардава "Android Things + Google Weave" Звиад Кардава "Android Things + Google Weave"
Звиад Кардава "Android Things + Google Weave"
IT Event
 
DIY- computer vision with GWT
DIY- computer vision with GWTDIY- computer vision with GWT
DIY- computer vision with GWT
Francesca Tosi
 
OWF12/PAUG Conf Days Google tv part2 (commande and control) matt gaunt, a...
OWF12/PAUG Conf Days Google tv part2 (commande and control)     matt gaunt, a...OWF12/PAUG Conf Days Google tv part2 (commande and control)     matt gaunt, a...
OWF12/PAUG Conf Days Google tv part2 (commande and control) matt gaunt, a...
Paris Open Source Summit
 
Lecture 12 - Maps, AR_VR_aaaaHardware.pptx
Lecture 12 - Maps, AR_VR_aaaaHardware.pptxLecture 12 - Maps, AR_VR_aaaaHardware.pptx
Lecture 12 - Maps, AR_VR_aaaaHardware.pptx
NgLQun
 
SF JUG - GWT Can Help You Create Amazing Apps - 2009-10-13
SF JUG - GWT Can Help You Create Amazing Apps - 2009-10-13SF JUG - GWT Can Help You Create Amazing Apps - 2009-10-13
SF JUG - GWT Can Help You Create Amazing Apps - 2009-10-13
Fred Sauer
 
Google Developer Fest 2010
Google Developer Fest 2010Google Developer Fest 2010
Google Developer Fest 2010
Chris Ramsdale
 

Similar a Google tv (20)

Android Wear 2.0 - New Level of Freedom for Your Action - GDG CEE Leads Summi...
Android Wear 2.0 - New Level of Freedom for Your Action - GDG CEE Leads Summi...Android Wear 2.0 - New Level of Freedom for Your Action - GDG CEE Leads Summi...
Android Wear 2.0 - New Level of Freedom for Your Action - GDG CEE Leads Summi...
 
Testing of javacript
Testing of javacriptTesting of javacript
Testing of javacript
 
Developing AIR for Android with Flash Professional
Developing AIR for Android with Flash ProfessionalDeveloping AIR for Android with Flash Professional
Developing AIR for Android with Flash Professional
 
Android Things
Android ThingsAndroid Things
Android Things
 
21 android2 updated
21 android2 updated21 android2 updated
21 android2 updated
 
"Android Things + Google Weave" Кардава Звиад, Voximplant, Google Developer E...
"Android Things + Google Weave" Кардава Звиад, Voximplant, Google Developer E..."Android Things + Google Weave" Кардава Звиад, Voximplant, Google Developer E...
"Android Things + Google Weave" Кардава Звиад, Voximplant, Google Developer E...
 
Звиад Кардава "Android Things + Google Weave"
Звиад Кардава "Android Things + Google Weave" Звиад Кардава "Android Things + Google Weave"
Звиад Кардава "Android Things + Google Weave"
 
Gmaps Railscamp2008
Gmaps Railscamp2008Gmaps Railscamp2008
Gmaps Railscamp2008
 
embedding web browser in your app
embedding web browser in your appembedding web browser in your app
embedding web browser in your app
 
DIY: Computer Vision with GWT.
DIY: Computer Vision with GWT.DIY: Computer Vision with GWT.
DIY: Computer Vision with GWT.
 
DIY- computer vision with GWT
DIY- computer vision with GWTDIY- computer vision with GWT
DIY- computer vision with GWT
 
Developer Student Clubs NUK - Flutter for Beginners
Developer Student Clubs NUK - Flutter for BeginnersDeveloper Student Clubs NUK - Flutter for Beginners
Developer Student Clubs NUK - Flutter for Beginners
 
a friend in need-a js indeed / Yonatan levin
a friend in need-a js indeed / Yonatan levina friend in need-a js indeed / Yonatan levin
a friend in need-a js indeed / Yonatan levin
 
A friend in need - A JS indeed
A friend in need - A JS indeedA friend in need - A JS indeed
A friend in need - A JS indeed
 
How to start with Google Web Toolkit
How to start with Google Web ToolkitHow to start with Google Web Toolkit
How to start with Google Web Toolkit
 
OWF12/PAUG Conf Days Google tv part2 (commande and control) matt gaunt, a...
OWF12/PAUG Conf Days Google tv part2 (commande and control)     matt gaunt, a...OWF12/PAUG Conf Days Google tv part2 (commande and control)     matt gaunt, a...
OWF12/PAUG Conf Days Google tv part2 (commande and control) matt gaunt, a...
 
Lecture 12 - Maps, AR_VR_aaaaHardware.pptx
Lecture 12 - Maps, AR_VR_aaaaHardware.pptxLecture 12 - Maps, AR_VR_aaaaHardware.pptx
Lecture 12 - Maps, AR_VR_aaaaHardware.pptx
 
SF JUG - GWT Can Help You Create Amazing Apps - 2009-10-13
SF JUG - GWT Can Help You Create Amazing Apps - 2009-10-13SF JUG - GWT Can Help You Create Amazing Apps - 2009-10-13
SF JUG - GWT Can Help You Create Amazing Apps - 2009-10-13
 
Gdg san diego android 11 meetups what's new in android - ui and dev tools
Gdg san diego android 11 meetups  what's new in android  - ui and dev toolsGdg san diego android 11 meetups  what's new in android  - ui and dev tools
Gdg san diego android 11 meetups what's new in android - ui and dev tools
 
Google Developer Fest 2010
Google Developer Fest 2010Google Developer Fest 2010
Google Developer Fest 2010
 

Último

+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@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

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...
 
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
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
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...
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
+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...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
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
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 

Google tv