Home > Store

Sams Teach Yourself Google TV App Development in 24 Hours, Rough Cuts

Rough Cuts

  • Available to Safari Subscribers
  • About Rough Cuts
  • Rough Cuts are manuscripts that are developed but not yet published, available through Safari. Rough Cuts provide you access to the very latest information on a given topic and offer you the opportunity to interact with the author to influence the final publication.

Not for Sale

Description

  • Copyright 2013
  • Dimensions: 7" x 9-1/8"
  • Pages: 400
  • Edition: 1st
  • Rough Cuts
  • ISBN-10: 0-13-302468-7
  • ISBN-13: 978-0-13-302468-5

This is the Rough Cut version of the printed book.

In just 24 sessions of one hour or less, Sams Teach Yourself Google TV App Development in 24 Hours will help you master app development with the radically improved new version of Google TV running Android 3.2 and Android second-screen apps using 4.2. Using its straightforward, step-by-step approach, you’ll gain the hands-on skills you need to build all three types of Google TV apps: Web, Android, and second-screen apps. You’ll learn today’s Google TV development best practices. Every lesson builds on what you’ve already learned, giving you a rock-solid foundation for real-world success!

Step-by-step instructions carefully walk you through the most common Google TV development tasks

Quizzes and Exercises at the end of each chapter help you test your knowledge

Notes present interesting information related to the discussion

Tips offer advice or show you easier ways to perform tasks

Cautions alert you to possible problems and give you advice on how to avoid them

Carmen Delessio is an expert Android and application developer who has worked as a programmer, technical architect, and CTO at large and small organizations. He began his online development career at Prodigy working on early Internet applications. He has written for Androidguys.com, Mashable, and ScreenItUp.com. His apps can be found at Bffmedia.com.

Learn how to…

n Develop for TV watchers and the “10-foot user experience”

n Create highly interactive and responsive TV apps

n Use Google TV’s optimized HTML templates and layouts

n Integrate HTML5 and jQuery into your Google TV apps

n Design effective user interaction, dialogs, navigation, and video sitemaps

n Organize Google TV apps intuitively with Tabs and the ActionBar

n Use Fragments to simplify your development process

n Store structured data locally in SQLite for instant user access

n Create and use ContentProviders

n Use the Channel Listing Provider for apps with TV listings and changing channels

n Build second-screen apps to connect Google TV with a second device

n Use the Anymote protocol to handle messaging between TVs and remote devices

n Bring it all together to build a complete Google TV app, from start to finish

Sample Content

Table of Contents

Introduction

Hour 1: Developing for Google TV and the 10-Foot User Experience 1

Google TV UI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

TV as a Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . 3

Google TV Apps . . . . . . . . . . . . . . . . .  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

10-Foot User Experience . . . .  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

Q&A . . . . . . . . . . . . . .  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

Workshop . . . . . . . . . . . . . .  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

Exercises . . . . . . .  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

Hour 2: Optimizing Web Pages for Google TV 15

Displaying Content on TV Screens . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

Playing Video . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

Displaying Text and Color . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

Navigating the Big Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

Q&A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  . . . . . . . . . . . . . . . . . . . . . . . 29

Workshop . . . . . . . . . . . . . . . .  . . . . . . . . . . . . . . . .  . . . . . . . . . . . . . . . . . . . 29

Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

Hour 3: Using Google’s Video Templates 31

Google Video Templates . . . . . . . . . . . .  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

Examining the Template Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

Understanding the JavaScript for Template 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

Using Temp

Updates

Submit Errata

More Information