Home | History | Annotate | Download | only in playback
      1 page.title=Building TV Playback Apps
      2 page.tags="leanback"
      3 
      4 startpage=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   </ul>
     14   <h2>You should also read</h2>
     15   <ul>
     16     <li><a href="{@docRoot}design/tv/index.html">
     17       Design for TV</a></li>
     18   </ul>
     19 </div>
     20 </div>
     21 
     22 <p>
     23   Browsing and playing media files is frequently part of the user experience provided by a TV app.
     24   Building such an experience from scratch, while making sure that it is fast, fluid, and attractive
     25   can be quite challenging. Whether your app provides access to a small or large media catalog,
     26   it is important to allow users to quickly browse options and get to the content they want.
     27 </p>
     28 
     29 <p>
     30   The Android framework provides classes for building user interfaces for these types of apps with
     31   the <a href="{@docRoot}tools/support-library/features.html#v17-leanback">v17 leanback support
     32   library</a>. This library provides a framework of classes for creating an efficient and familiar
     33   interface for browsing and playing media files with minimal coding. The classes are designed
     34   be extended and customized so you can create an experience that is unique to your app.
     35 </p>
     36 
     37 <p>This class shows you how to build a TV app for browsing and playing media content using the Leanback
     38   support libraries for TV.</p>
     39 
     40 <h2>Topics</h2>
     41 
     42 <dl>
     43   <dt><b><a href="browse.html">Creating a Catalog Browser</a></b></dt>
     44     <dd>Learn how to use the Leanback support library to build a browsing interface for media
     45       catalogs.</dd>
     46 
     47   <dt><b><a href="details.html">Building a Details View</a></b></dt>
     48     <dd>Learn how to use the Leanback support library to build a details page for media items.</dd>
     49 
     50   <dt><b><a href="now-playing.html">Displaying a Now Playing Card</a></b></dt>
     51     <dd>Learn how to use a MediaSession to display a Now Playing card on the home screen.</dd>
     52 </dl>
     53