Android TV -2- Building TV Playback Apps

Building TV Playback Apps

Dependencies and Prerequisites

  • Android 5.0 (API level 21) or higher

You should also read

VIDEO

DevBytes: Android TV — Using the Leanback library

Browsing and playing media files is frequently part of the user experience provided by a TV app. Building such an experience from scratch, while making sure that it is fast, fluid, and attractive can be quite challenging. Whether your app provides access to a small or large media catalog, it is important to allow users to quickly browse options and get to the content they want.

The Android framework provides classes for building user interfaces for these types of apps with the v17 leanback support library. This library provides a framework of classes for creating an efficient and familiar interface for browsing and playing media files with minimal coding. The classes are designed to be extended and customized so you can create an experience that is unique to your app.

This class shows you how to build a TV app for browsing and playing media content using the Leanback support libraries for TV.

Topics



Creating a Catalog Browser
Learn how to use the Leanback support library to build a browsing interface for media catalogs.
Providing a Card View
Learn how to use the Leanback support library to build a card view for content items.
Building a Details View
Learn how to use the Leanback support library to build a details page for media items.
Displaying a Now Playing Card
Learn how to use a MediaSession to display a Now Playing card on the home screen.
Enabling Background Playback
Learn how to continue playback when the user clicks on  Home.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值