0

Launch sl4a script from sl4a

view story
linux-howto

http://stackoverflow.com – I'm really hoping someone can help me figure this one out - I've been googling like crazy... I would like to start a background script (on a remote device) from within a sl4a script. I can achieve this in Terminal, by running $ am start -a com.googlecode.android_scripting.action.LAUNCH_BACKGROUND_SCRIPT -n com.googlecode.android_scripting/.activity.ScriptingLayerServiceLauncher -e com.googlecode.android_scripting.extra.SCRIPT_PATH /sdcard/sl4a/scripts/myscript.py" But I can't seem to figure out how to translate it into a startActivity call. I saw this example in a stackoverflow que (HowTos)