ITVlab / TvAppRepo

An app repository of Android TV apps
Apache License 2.0
238 stars 46 forks source link

Read Launcher Shortcuts #40

Open Fleker opened 7 years ago

Fleker commented 7 years ago

What if I could read the launcher shortcuts from an XML file or dynamically on Android 7.1+ devices and make it easy to put those Intents into a shortcut on the homescreen?

xstar97 commented 7 years ago

you mean an app's manifest xml file or...?

Fleker commented 7 years ago

In 7.1, apps can create shortcuts to certain parts of the app straight from the homescreen.

https://developer.android.com/guide/topics/ui/shortcuts.html

These shortcuts are either defined statically, being listed in a separate XML file, or dynamically through a Java method.

xstar97 commented 7 years ago

okay thanks didn't know this was feature at all...idk if it a good feature for android TV as the only devices that have/getting nougat is nexus player & shield TV(probably smart tv's too) & not many apps have been updated to support nougat at all too.

Fleker commented 7 years ago

I'm not sure either. TV apps probably won't support it either. It's an idea.