• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1page.title=Building TV Apps
2startpage=true
3
4@jd:body
5
6<div id="tb-wrapper">
7<div id="tb">
8  <h2>Dependencies and Prerequisites</h2>
9  <ul>
10    <li>Android 5.0 (API level 21) or higher</li>
11    <li>Android Studio 0.8 or later and Gradle 0.12 or later</li>
12  </ul>
13</div>
14</div>
15
16<p>
17  Android offers a rich user experience that's optimized for apps running on large screen devices,
18  such as high-definition televisions. Apps on TV offer new opportunities to delight your users
19  from the comfort of their couch.
20</p>
21
22<p>
23  TV apps use the same structure as those for phones and tablets. This approach means you can
24  create new TV apps based on what you already know about building apps for Android, or extend your
25  existing apps to also run on TV devices. However, the user interaction model for TV is
26  substantially different from phone and tablet devices. In order to make your app successful on TV
27  devices, you must design new layouts that can be easily understood from 10 feet away, and provide
28  navigation that works with just a directional pad and a select button.
29</p>
30
31<p>
32  This class describes how to start building apps for TV, including setting up your development
33  environment, basic requirements for layouts and navigation, as well as guidance on how to handle
34  hardware features that are not typically available on TV devices.
35</p>
36
37<p class="note">
38  <strong>Note:</strong> You are encouraged to use <a href=
39  "{@docRoot}sdk/installing/studio.html">Android Studio</a> for building TV apps, because it
40  provides project setup, library inclusion, and packaging conveniences. This training assumes you
41  are using Android Studio.
42</p>
43
44
45<h2>Lessons</h2>
46
47<dl>
48  <dt><a href="{@docRoot}training/tv/start/start.html">
49    Getting Started with TV Apps</a></dt>
50    <dd>Learn how to create a new Android Studio project for TV apps or modify your existing
51      app project to run on TV devices.</dd>
52  <dt><a href="{@docRoot}training/tv/start/layouts.html">
53    Building TV Layouts</a></dt>
54    <dd>Learn the minimum requirements for TV layouts and how to implement them.</dd>
55  <dt><a href="{@docRoot}training/tv/start/navigation.html">
56    Creating TV Navigation</a></dt>
57    <dd>Learn the requirements for TV navigation and how to implement TV-compatible
58      navigation.</dd>
59  <dt><a href="{@docRoot}training/tv/start/hardware.html">
60    Handling TV Hardware</a></dt>
61    <dd>Learn how to check if your app is running on TV hardware, handle unsupported hardware
62      features, and manage controller devices.</dd>
63</dl>
64