如何开始为Amazon Fire TV开发? [英] How to start developing for Amazon Fire TV?

查看:143
本文介绍了如何开始为Amazon Fire TV开发?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我被要求开发一个Amazon Fire TV应用程序,但是我发现很难理解步入正轨所需的步骤。

I was requested to develop an Amazon Fire TV app, but I find difficult to understand the steps required to get on track.

Amazon指定的 href = https://developer.amazon.com/public/solutions/devices/fire-tv/docs/setting-up-your-development-environment rel = nofollow>文档,以前可用Fire TV SDK附加组件现已弃用,他们建议只使用Android v17 Leanback库。

As specified by the Amazon documentation, the previously available Fire TV SDK add-on is now deprecated, and they suggest to just use the Android v17 Leanback Library.

到目前为止,我还没有Fire TV ,而且官方文档非常差,而且很混乱;那时,我无法理解纯 Android TV应用程序是否与Fire OS 5完全兼容,因此针对Fire TV的开发实际上与针对通用Amazon TV的开发(从SDK到虚拟测试过程)。
如果不是这样,我必须考虑哪些不同的步骤?

To date, I do not have (yet) a Fire TV, and the official documentation is very poor and rather confused; I'm not able – then – to understand whether "pure" Android TV apps are fully compatible with Fire OS 5, so that developing for the Fire TV is actually the same as developing for a generic Amazon TV (from the SDK, to the virtual testing process). In the case it isn't, what are the different steps I have to take into account?

推荐答案

您应该从使用 Android v17 Leanback库开始。 Google提供了一个使用leanback库的示例应用。您可能不需要检查 firetv 的一些东西,例如语音识别(leanback库中的 SearchFragment

You should start with using Android v17 Leanback Library. There is a sample app available from Google that uses leanback library. Few things you might need to check for firetv like speech recognition (SearchFragment in the leanback library) is currently unsupported


Fire OS 5包括对Android TV功能的支持和
leanback支持库。语音识别(
leanback库中的SearchFragment)目前不受支持。

Fire OS 5 includes both support for Android TV functionality and the leanback support library. Speech recognition (SearchFragment in the leanback library) is currently unsupported.

全局搜索,对于 firetv


全局搜索在系统范围内提供,不能为
自定义单个应用。开发人员可以实现自己的应用内搜索,但
并不包含在全局搜索功能中。

Global search is provided system-wide and is not customizable for individual apps. Developers may implement their own in-app search, but it is not included in the global search function.

也可以尝试遵守提交前评估指南开发 firev 时的开发人员常见问题解答

Also try to follow pre-submission assessment guidelines and developer FAQs when developing for a firetv.

这篇关于如何开始为Amazon Fire TV开发?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆