How to start developing for Amazon Fire TV?

ぐ巨炮叔叔 提交于 2019-12-07 11:56:55

问题


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

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.

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?


回答1:


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 includes both support for Android TV functionality and the leanback support library. Speech recognition (SearchFragment in the leanback library) is currently unsupported.

and global search which is not customizable for individual apps for 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.

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



来源:https://stackoverflow.com/questions/33530439/how-to-start-developing-for-amazon-fire-tv

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!