创建TV应用Helloworld.docx

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
创建TV应用Helloworld

TV apps use the same structure as those for phones and tablets. This similarity means you can modify your existing apps to also run on TV devices or create new apps based on what you already know about building apps for Android. 电视应用和手机以及平板使用相同的架构。这样就意味着我们可以修改现存的应用到电视设备上或者创建新的应用在电视上用类似于你所知的其他的构建应用程序的方式 Important: There are specific requirements your app must meet to qualify as an Android TV app on Google Play. For more information, see the requirements listed in TV App Quality. 重点:想把android电视的应用放在google play中要满足一些得顶的要求,可以参考Tv App Quality的列表 This lesson describes how to prepare your development environment for building TV apps, and the minimum required changes to enable an app to run on TV devices. 本课程将描述如何准备电视应用的开发环境,最小的需求改变使得应用运行中电视设备上 See the following documentation for information about the codecs, protocols, and formats supported by Android TV. - Supported Media Formats - DRM - android.drm - ExoPlayer - android.media.MediaPlayer 查看以下文档信息,包括代码,协议和Android TV支持的格式。 Set up a TV Project 创建TV项目 This section discusses how to modify an existing app to run on TV devices, or create a new one. These are the main components you must use to create an app that runs on TV devices: 这一部分将讨论如何修改现存的应用到电视上运行,或者创建一个新的电视应用。这些僵尸最主要的组建我们必须使用来创建一个电视应用中电视设备上 * Activity for TV (Required) - In your application manifest, declare an activity that is intended to run on TV devices. * TV Support Libraries (Optional) - There are several Support Libraries available for TV devices that provide widgets for building user interfaces. ? 电视活动(必须) - 在您的manifest中, 声明一个可在TV设备上运行的activity。 ? 电视支持库(可选) - 这些支持库Support Libraries 可以提供搭建TV用户界面的控件。 Prerequisites 前提条件 Before you begin building apps for TV, you must: 在创建TV应用前, 必须做以下事情: * Update your SDK tools to version 24.0.0 or higher The updated SDK tools enable you to build and test apps for TV. 更新sdk工具版本到24或者以上,升级的sdk版本使得构架电视测试应用变的可用 * Update your SDK with Android 5.0 (API 21) or higher The updated platform version provides new APIs for TV apps. 更新你的sdk在andr

文档评论(0)

jiayou10 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8133070117000003

1亿VIP精品文档

相关文档