![Page 1: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/1.jpg)
@googletvdev
![Page 2: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/2.jpg)
name = {"Paul", "Saxman"}
![Page 3: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/3.jpg)
dept = "Developer" + " Relations"
![Page 4: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/4.jpg)
paul.talkAbout(" ")
![Page 5: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/5.jpg)
specifically...
![Page 6: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/6.jpg)
I'll provide answers to a few fundamental questions:
![Page 7: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/7.jpg)
What? Why? How?
![Page 8: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/8.jpg)
more specifically...
![Page 9: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/9.jpg)
what is(the soon to be released)
Google TV?
![Page 10: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/10.jpg)
why should developers be interested in Google TV?
![Page 11: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/11.jpg)
how does one build apps for Google TV?
![Page 12: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/12.jpg)
questions?!?
![Page 13: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/13.jpg)
so then... what exactly is(the soon to be released)
Google TV?
![Page 14: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/14.jpg)
![Page 15: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/15.jpg)
for your TV
![Page 16: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/16.jpg)
meaning...
![Page 17: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/17.jpg)
everything that you've learned today also applies to
Google TV
![Page 18: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/18.jpg)
which includes your favorite Honeycomb features, such as...
![Page 19: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/19.jpg)
fragments
![Page 20: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/20.jpg)
the Action Bar
![Page 21: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/21.jpg)
more interactive app widgets
![Page 22: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/22.jpg)
more content-rich notifications
![Page 23: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/23.jpg)
Renderscript
![Page 24: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/24.jpg)
et cetera.
![Page 25: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/25.jpg)
Google TV works with...
![Page 26: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/26.jpg)
your TV (device)...
![Page 27: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/27.jpg)
your cable/satellite (content)...
![Page 28: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/28.jpg)
your Internet (connection)...
![Page 29: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/29.jpg)
and the Web.
![Page 30: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/30.jpg)
there are a number of devices running Google TV
![Page 31: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/31.jpg)
![Page 32: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/32.jpg)
and there are definitely more coming!
![Page 33: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/33.jpg)
Google TV is controlled with devices, such as...
![Page 34: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/34.jpg)
![Page 35: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/35.jpg)
which all support...
![Page 36: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/36.jpg)
keyboardssearchd-pad
pointing devicesmedia keys
back/home/menufavorite
![Page 37: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/37.jpg)
Google TV can also be controlled by one or more of...
![Page 38: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/38.jpg)
![Page 39: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/39.jpg)
it has integrated search....
![Page 40: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/40.jpg)
and it also includes TV specific features, like...
![Page 41: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/41.jpg)
picture-in-picture
![Page 42: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/42.jpg)
a channel changing activity
![Page 43: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/43.jpg)
a channel listing content provider
![Page 44: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/44.jpg)
device pairing and communication protocols
![Page 45: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/45.jpg)
and more...with more to come!
![Page 46: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/46.jpg)
the Android Market is coming to Google TV...
![Page 47: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/47.jpg)
and finally, in addition to all the...
![Page 48: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/48.jpg)
![Page 49: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/49.jpg)
Google TV has a full version of...
![Page 50: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/50.jpg)
![Page 51: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/51.jpg)
meaning that developers who love the Web and...
![Page 52: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/52.jpg)
![Page 53: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/53.jpg)
can also develop apps forGoogle TV!
![Page 54: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/54.jpg)
so... why should developersbuild apps for Google TV?
![Page 55: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/55.jpg)
to help answer this, here are a few points to get you thinking...
![Page 56: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/56.jpg)
001/ TVs are, by far, the largest displays in most households
![Page 57: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/57.jpg)
which means they're great for watching videos, playing games, photo slideshows, etc.
![Page 58: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/58.jpg)
010/ TVs are connected to the best sound systems in most households
![Page 59: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/59.jpg)
011/ TVs are near very comfortable furniture in most households
![Page 60: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/60.jpg)
100/ TVs are great for multi-user viewing and interaction
![Page 61: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/61.jpg)
101/ TVs are used by over 5 billion people worldwide
![Page 62: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/62.jpg)
110/ on avg, Americans watch nearly 5 hours of TV daily(which is increasing)
![Page 63: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/63.jpg)
111/ in 2009, the avg US home had 2.5 people vs. 2.86 TV sets
(source: The Nielsen Company)
![Page 64: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/64.jpg)
one more point to consider...
![Page 65: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/65.jpg)
TVs aren't only found in people's living rooms...
![Page 66: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/66.jpg)
they are also commonly found in:
![Page 67: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/67.jpg)
bedrooms
![Page 68: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/68.jpg)
hotel rooms
![Page 69: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/69.jpg)
classrooms
![Page 70: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/70.jpg)
airplanes
![Page 71: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/71.jpg)
hospitals
![Page 72: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/72.jpg)
lobbies
![Page 73: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/73.jpg)
bars
![Page 74: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/74.jpg)
and quite a few other places
![Page 75: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/75.jpg)
basically, TVs are everywhere...
![Page 76: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/76.jpg)
a lot of people watch them...
![Page 77: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/77.jpg)
a lot...
![Page 78: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/78.jpg)
and they're getting smarterevery day
![Page 79: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/79.jpg)
and finally... how does one build a Google TV app?
![Page 80: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/80.jpg)
well, since Google TV is...
![Page 81: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/81.jpg)
![Page 82: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/82.jpg)
app developers can use:
![Page 83: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/83.jpg)
01/ the framework
![Page 84: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/84.jpg)
10/ the SDK
![Page 85: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/85.jpg)
11/ the Market
![Page 86: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/86.jpg)
there's also aGoogle TV add-on, which
includes...
![Page 87: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/87.jpg)
an image for the KVM accelerated, x86 emulator for
Linux (SDK Tools r12)
![Page 88: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/88.jpg)
Mac and Windows support is on the way
![Page 89: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/89.jpg)
for development, there are some important things to keep in mind
about Google TV:
![Page 90: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/90.jpg)
0001/ the (soon to be released) Google TV is Android 3.1
(API level 12)
![Page 91: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/91.jpg)
0010/ Google TV supports twoHD resolutions:
1920x1080 and 1280x720
![Page 92: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/92.jpg)
and two densities:tvdpi (213) and xhdpi (320)
![Page 93: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/93.jpg)
but it's always just large
![Page 94: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/94.jpg)
![Page 95: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/95.jpg)
remember, however, that the closest resources are used
![Page 96: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/96.jpg)
and don't forget to test both resolutions!
![Page 97: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/97.jpg)
0011/ due to overscan, you may not get every pixel/DIP
![Page 98: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/98.jpg)
I know this sounds crazy, but let me explain...
![Page 99: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/99.jpg)
TVs don't display all the pixels!
![Page 100: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/100.jpg)
so let your views stretch out,with some scalable
padding between them
![Page 101: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/101.jpg)
and scale full-screen bitmaps yourself
![Page 102: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/102.jpg)
0100/ at 10ft, TVs are notouch
![Page 103: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/103.jpg)
<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
![Page 104: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/104.jpg)
0101/ d-pad navigation is (generally) better than pointing
![Page 105: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/105.jpg)
![Page 106: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/106.jpg)
so focus, focus, focus...
![Page 107: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/107.jpg)
allow itandroid:focusableandroid:focusableInTouchMode
![Page 108: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/108.jpg)
show it<selector> <item android:drawable="..." android:state_focused=["true" | "false"] android:state_selected=["true" | "false"] /></selector>
![Page 109: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/109.jpg)
control itandroid:nextFocusDownandroid:nextFocusLeftandroid:nextFocusRightandroid:nextFocusUpandroid:nextFocusForward [tab]requestFocus [default focus; tag and method]
![Page 110: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/110.jpg)
and make sure there's always a short path between focus-ables
![Page 111: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/111.jpg)
0110/ location is coarse and static
![Page 112: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/112.jpg)
android.permission.ACCESS_COARSE_LOCATION
![Page 113: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/113.jpg)
LocationManager lm = (LocationManager)this.getSystemService( Context.LOCATION_SERVICE);
Location location = lm.getLastKnownLocation("static");
![Page 114: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/114.jpg)
1000/ apps can be "made for TV" (but only if necessary)
![Page 115: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/115.jpg)
<uses-feature android:name="com.google.android.tv" android:required="true" />
![Page 116: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/116.jpg)
1001/ be sure to require only the features that you need
![Page 117: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/117.jpg)
com.google.android.tvandroid.hardware.locationandroid.hardware.location.networkandroid.hardware.usb.hostandroid.hardware.wifiandroid.software.live_wallpaper
![Page 118: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/118.jpg)
if a feature is used for everything but TV (GPS, vibrate, etc.)...
![Page 119: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/119.jpg)
getPackageManager() .hasSystemFeature("com.google.android.tv");
![Page 120: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/120.jpg)
1010/ NDK is on the way, but not here yet
![Page 121: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/121.jpg)
1011/ users' channel listings are available
![Page 122: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/122.jpg)
com.google.android.tv.permission.READ_CHANNELS
![Page 123: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/123.jpg)
content://com.google.android.tv.provider/channel_listing
![Page 124: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/124.jpg)
callsignchannel_namechannel_numberchannel_uri
![Page 125: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/125.jpg)
1100/ channel changing is possible, too
![Page 126: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/126.jpg)
so that's about it!
![Page 127: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/127.jpg)
what to share your ideas for Google TV?
![Page 128: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/128.jpg)
http://bit.ly/googletvadl
![Page 129: Developing Android Applications for Google TV - Android Developer Lab 2011](https://reader033.vdocuments.us/reader033/viewer/2022051513/547e93bdb47959ac508b4bc2/html5/thumbnails/129.jpg)
FIN!
http://code.google.com/tv