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:
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?
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.
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?
- recommendations
no, fire tv not support recommendations, iirc.
- global search
same previous point.
- 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
Post a Comment