Android launch intents from commandline

I’ve been trying to integrate android intents with BuradanOraya specifically to test different scheme parsing bits of code. Open up a shell connection (adb shell) to your android device and then trigger the intent focused on a specific application using a command like:

Shell

1

am start-aandroid.intent.action.VIEW-dgeo:29,41com.app.path

If you don’t specify a package ie

Shell

1

am start-aandroid.intent.action.VIEW-dgeo:29,41

on my android 5 at least it will come up with a chooser of all the different apps that could open the intent.