android - Making AndroidTV app workable on FireTV -


i have android tv app using leanback library want publish amazon tv store also. know can use leanback library fire tv per this link using standard launcher. not sure few things:

  1. recommendations

android tv display content recommendations in first row of tv home screen

content recommendations appear first row of tv home screen after first use of device

for need create recommendation service , build recommendations in android tv app.

does firetv show recommendations , requires recommendation service present in firetv app? quoting this link

the global navigation menu primary system menu. appears in row on left side of screen. global navigation menu allows user choose major content categories or other options including search, home, movies, tv, music, games, apps, , on.

is global navigation menu on fire tv similar content recommendations row on android tv?

  1. global search

android tv uses android search interface retrieve content data installed apps , deliver search results user. android tv app implements content provider along searchable.xml configuration file purpose.

is global search available on fire tv , need provide content provider similar android tv app ? quoting this link

global search provided system-wide , not customizable individual apps. developers may implement own in-app search, not included in global search function.

  1. in app search

the leanback support library provides set of classes enable standard search interface within app consistent other search functions on tv , provides features such voice input.

since leanback support library can used android api level 17 fire tv, think leanback searchfragment can used firetv well. voice input handled differently?

  1. recommendations

no, fire tv not support recommendations, iirc.

  1. global search

same previous point.

  1. in app search

yes, can use searchfragment class. (not sure recent versions of leanback), there few quirks due how mic input handled. 1 of things done disabling speech recognizer:

field mspeechrecognizerfield = searchfragment.class.getdeclaredfield("mspeechrecognizer"); mspeechrecognizerfield.setaccessible(true); mspeechrecognizerfield.set(this, null); 

you may encounter 1 or 2 more.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -