1 page.title=Building TV Playback Apps 2 page.tags=tv, leanback 3 helpoutsWidget=true 4 5 startpage=true 6 7 @jd:body 8 9 <div id="tb-wrapper"> 10 <div id="tb"> 11 <h2>Dependencies and Prerequisites</h2> 12 <ul> 13 <li>Android 5.0 (API level 21) or higher</li> 14 </ul> 15 <h2>You should also read</h2> 16 <ul> 17 <li><a href="{@docRoot}design/tv/index.html"> 18 Design for TV</a></li> 19 </ul> 20 21 </div> 22 </div> 23 24 <!-- video box --> 25 <a class="notice-developers-video" href="https://www.youtube.com/watch?v=72K1VhjoL98"> 26 <div> 27 <h3>Video</h3> 28 <p>DevBytes: Android TV — Using the Leanback library</p> 29 </div> 30 </a> 31 32 33 34 <p> 35 Browsing and playing media files is frequently part of the user experience provided by a TV app. 36 Building such an experience from scratch, while making sure that it is fast, fluid, and attractive 37 can be quite challenging. Whether your app provides access to a small or large media catalog, 38 it is important to allow users to quickly browse options and get to the content they want. 39 </p> 40 41 <p> 42 The Android framework provides classes for building user interfaces for these types of apps with 43 the <a href="{@docRoot}tools/support-library/features.html#v17-leanback">v17 leanback support 44 library</a>. This library provides a framework of classes for creating an efficient and familiar 45 interface for browsing and playing media files with minimal coding. The classes are designed to 46 be extended and customized so you can create an experience that is unique to your app. 47 </p> 48 49 <p>This class shows you how to build a TV app for browsing and playing media content using the Leanback 50 support libraries for TV.</p> 51 52 <h2>Topics</h2> 53 54 <dl> 55 <dt><b><a href="browse.html">Creating a Catalog Browser</a></b></dt> 56 <dd>Learn how to use the Leanback support library to build a browsing interface for media 57 catalogs.</dd> 58 59 <dt><b><a href="details.html">Providing a Card View</a></b></dt> 60 <dd>Learn how to use the Leanback support library to build a card view for content items.</dd> 61 62 <dt><b><a href="details.html">Building a Details View</a></b></dt> 63 <dd>Learn how to use the Leanback support library to build a details page for media items.</dd> 64 65 <dt><b><a href="now-playing.html">Displaying a Now Playing Card</a></b></dt> 66 <dd>Learn how to use a MediaSession to display a Now Playing card on the home screen.</dd> 67 68 <dt><b><a href="guided-step.html">Adding a Guided Step</a></b></dt> 69 <dd>Learn how to use the Leanback support library to guide a user through a series of 70 decisions.</dd> 71 72 <dt><b><a href="options.html">Enabling Background Playback</a></b></dt> 73 <dd>Learn how to continue playback when the user clicks on <strong>Home</strong>.</dd> 74 </dl> 75