Warning! This post is outdated. Be careful.

lansio: Just Start Already

16 Feb 2013


Don't you just hate it when you're developing on Android and you keep having to launch your application. You can do this via adb

$ adb shell am start -a android.intent.action.MAIN \
        -n com.example.app/com.example.app.activity

But, committing that to memory is not easy. Why not have a tool that hunts up the file hierarchy looking for an AndroidManifest.xml and, when it finds one, builds and executes the command above? Enter lansio.

Let's say you're deep in the src directory. You've made a change and you want to launch the application. Run

$ lansio

and that's it. Check out the code on GitHub.