How to start an application using android ADB tools?

Sean picture Sean · Dec 31, 2010 · Viewed 489.2k times · Source

How do I send an intent using Android's ADB tools?

Answer

Cristian picture Cristian · Dec 31, 2010
adb shell
am start -n com.package.name/com.package.name.ActivityName

Or you can use this directly:

adb shell am start -n com.package.name/com.package.name.ActivityName

You can also specify actions to be filter by your intent-filters:

am start -a com.example.ACTION_NAME -n com.package.name/com.package.name.ActivityName