Google tv
Upcoming SlideShare
Loading in...5
×
 

Google tv

on

  • 823 views

Google Dev Fest Bacelona 11/2012

Google Dev Fest Bacelona 11/2012

Statistics

Views

Total Views
823
Views on SlideShare
820
Embed Views
3

Actions

Likes
0
Downloads
21
Comments
0

2 Embeds 3

https://si0.twimg.com 2
https://twitter.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Google tv Google tv Presentation Transcript

  • Google TV GDG@BCN
  • GDG@BCNWhat is Google TVDeveloping for TVDeveloping for Google TVDeveloping Second screensAdapting 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
  • GTVandroid.hardware.bluetooth android.hardware.sensor.barometerandroid.hardware.camera android.hardware.sensor.compassandroid.hardware.location.gps android.hardware.telephonyandroid.hardware.microphone android.hardware.touchscreenandroid.hardware.nfc android.hardware.touchscreen.multitouchandroid.hardware.sensor.accelerometer android.hardware.sensor.light
  • GTV
  • GTV
  • GTV
  • GTV
  • GTVhttp://code.google.com/p/googletv-android-samples/source/browse/#git%2FLeftNavBarDemohttp://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#F1F1F1BOLD fontsDark background
  • GTV#F1F1F1BOLD fontsDark backgroundShort lines / Line Spacing
  • GTV#F1F1F1BOLD fontsDark backgroundShort lines / Line SpacingUI feedback. StateListDrawable
  • GTV#F1F1F1BOLD fontsDark backgroundShort lines / Line SpacingUI feedback. StateListDrawableLow VolumesetRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
  • GTV#F1F1F1BOLD fontsDark backgroundShort lines / Line SpacingUI feedback. StateListDrawableLow VolumesetRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
  • Second-Screen Apps
  • Second-Screen AppsDiscovers a Google TV device (mDNS)
  • Second-Screen AppsDiscovers a Google TV device (mDNS)Authenticates itself with the Google TV device.
  • Second-Screen Appsprivate 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 Appsprivate 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 Appsprivate 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 AppsGoogle TV Remote: http://goo.gl/ViqXE
  • Chrome
  • ChromeHTML5 / CSS3jQuery - Clousure
  • ChromeHTML5 / CSS3jQuery - ClousureOptimized Templates
  • Chrome
  • Q&AReferences:https://developers.google.comhttp://code.google.com/p/googletv-android-sampleshttp://en.wikipedia.org/wiki/10-foot_user_interfacehttps://developers.google.com/tv/web/docs/spotlighthttp://code.google.com/p/anymote-protocol/https://code.google.com/p/google-tv-chrome-extensions/https://developers.google.com/tv/android/docs/gtv_presentationsIñaki Villarinaki.seri@gmail.com@inyaki_mwc+Iñaki Villar