Android Set Intent flags when using StartAndroidActivity
#1
Does anyone know how to do this or if it's possible?
Reply
#2
see wiki: http://kodi.wiki/view/List_of_built-in_functions

Quote: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/)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
Yeah I've read all the documentation and looked up every use of StartAndroidActivity I could find in public GitHub code to see if anyone ever set Intent flags but I couldn't find a single example of anyone who has done it so I'm assuming it's not possible with this method.
Reply
#4
(2016-08-09, 20:39)Leuthil Wrote: Yeah I've read all the documentation and looked up every use of StartAndroidActivity I could find in public GitHub code to see if anyone ever set Intent flags but I couldn't find a single example of anyone who has done it so I'm assuming it's not possible with this method.


What about Ronie's example in the post above yours?


Sent from my iPhone
Reply
#5
Just to clear up any confusion, I'm talking about Intent flags, as seen here in the Android documentation:

https://developer.android.com/reference/...Flags(int)
Reply

Logout Mark Read Team Forum Stats Members Help
Set Intent flags when using StartAndroidActivity0