Posts: 125
Joined: Nov 2008
Reputation:
0
Hi,
I'd like to open some Android Apps with specified Activity.
For Example I'd like to open Tunein Radio in Leanback Mode.
The Activity for this is:
tunein.leanback.LeanBackActivity
In Kodi Wiki I just found this:
StartAndroidActivity(package,[intent,dataType,dataURI])
But what's the correct syntax? Because nothing I tried worked...
Can anyone give me a hint?
Thank you.
Posts: 124
Joined: Nov 2015
Reputation:
8
wweich
Senior Member
Posts: 124
I would say, it should be StartAndroidActivity(tunein.player, tunein.leanback.LeanBackActivity) or just StartAndroidActivity(tunein.leanback.LeanBackActivity).
Posts: 825
Joined: Jun 2009
Reputation:
2
2016-11-26, 10:10
(This post was last modified: 2016-11-27, 10:36 by pettergulbra.)
Did you ever found out of this?
I still can`t get an app to open in leanback mode from Kodi, when it open to leanback from standard launcher (android).
I have not set Kodi up as launcher.
Petter :-)
Many thanks for all the effort YOU all do! THANKS! :-)
nVidia Shield TV (2015), Samsung QE75Q70R and Yamaha RX-V767
Posts: 825
Joined: Jun 2009
Reputation:
2
When you add the app as an favorite inside. Does it use the same start "address" as it uses in the original launcher?
Or where does Kodi get the string from, like this one: StartAndroidActivity(“no.nrk.tv”)
Is there an way to check how the app is open in android?
I may be way off here, just comes with some questions. :-)
Petter :-)
Many thanks for all the effort YOU all do! THANKS! :-)
nVidia Shield TV (2015), Samsung QE75Q70R and Yamaha RX-V767
Posts: 825
Joined: Jun 2009
Reputation:
2
I have got an hint of the NRK app, but that did not work either.
But here it is, in case anyone see something that can help :-)
StartAndroidActivity(“no.nrk.tv.view.androidtv.AndroidTvMainActivity”)
Petter :-)
Many thanks for all the effort YOU all do! THANKS! :-)
nVidia Shield TV (2015), Samsung QE75Q70R and Yamaha RX-V767