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