Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Selection of individual android apps instead of whole folder
#1
Hello,
I would like to thank the Kodi team for the work put towards this software. I'm currently working on a build and would like the ability to create shortcuts to android apps without using the Favourites option. I tried adding it through programs, android apps; however, I did not have the submenu to select the individual apps. What do I have to do make this happen? Thanks
Reply
#2
Look at the wiki:

StartAndroidActivity(package,[intent,dataType,dataURI])

Launch an Android native app with the given package name. Optional parms (in order): intent, dataType, dataURI. example: StartAndroidActivity(com.android.chrome,android.intent.action.VIEW,,http://kodi.tv/)

An easy way is also to right-klick the app, add it to favorites and then add the favorite to the required main or sub menu. Aftwards you can delete the favorite entry again.
Reply
#3
Thank you for the prompt reply.
Currently, I'm activating HULU app with the below command:
ActivateWindow(Programs,"plugin://plugin.program.super.favourites/?label=Hulu&mode=650&cmd=StartAndroidActivity%28%22com.hulu.plus%22%29&image=androidapp%3A%2F%2Fsources%2Fapps%2Fcom.hulu.plus.png&content_type=",return)

Based off the wiki example; StartAndroidActivity(com.android.chrome,android.intent.action.VIEW,,http://kodi.tv/), will this work:

ActivateWindow(StartAndroidActivity(com.hulu.plus.android.intent.action))

Thanks
Reply
#4
i got it to work:
StartAndroidActivity("com.hulu.plus.android")

Thanks
Reply

Logout Mark Read Team Forum Stats Members Help
Selection of individual android apps instead of whole folder0