Friday, April 09, 2010

Android Scripting Environment: launch a script from adb

ASE is pretty slick; makes it very easy to do simple things in Android. Here's how to launch a script from the command line after using "adb shell" to get a shell prompt:

# Launch an activity in the background:
$ am start -a -n -e

# Launch an activity in a new terminal:
$ am start -a -n -e

And here's the java file where they name all the intents in ASE.

No comments: