[Feature request] builtin function for StartAndroidService
#1
Dear all,

Currently XBMC/Kodi has a builtin function to start android activities:

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

This is particularly important as it allows us to start any common android application from within xbmc. However, there are cases in which we only want to start an activity or app so this activity/app can start an associated service. To do this, the activity.xml will replace the xbmc gui and the user needs to go back to the xbmc app/screen.

It would be cool if we have a similar function just to start a service. This way the xbmc would start the android service without exiting the gui.
This is possible to do from adb shell with:

am startservice com.xxx/.service.XXXService

Many thanks for reading,
Reply

Logout Mark Read Team Forum Stats Members Help
[Feature request] builtin function for StartAndroidService0