Discussed in #48
Originally posted by Quackdoc August 27, 2023
Launchers can get the TV/Leanback intent using getLeanbackLaunchIntentForPackage(packageName) This would allow booting to the TV version of an application (for example VLC) if the application supports a TV interface and has an appropriate intent. This would be quite useful as many applications when launched like this launch into a controller optimized interface which fits in with the promoted intended use case for this app.
a good example of an application where this helps is dolphin emulator, since the touch UI for dolphin is very lack luster. so oppening the TV/Leanback version helps a lot
documentation here
https://developer.android.com/reference/android/content/pm/PackageManager#getLeanbackLaunchIntentForPackage(java.lang.String)
Discussed in #48
Originally posted by Quackdoc August 27, 2023
Launchers can get the TV/Leanback intent using
getLeanbackLaunchIntentForPackage(packageName)This would allow booting to the TV version of an application (for example VLC) if the application supports a TV interface and has an appropriate intent. This would be quite useful as many applications when launched like this launch into a controller optimized interface which fits in with the promoted intended use case for this app.a good example of an application where this helps is dolphin emulator, since the touch UI for dolphin is very lack luster. so oppening the TV/Leanback version helps a lot
documentation here
https://developer.android.com/reference/android/content/pm/PackageManager#getLeanbackLaunchIntentForPackage(java.lang.String)