From the post Is it possible to start activity through adb shell?, we can start an Android app via adb by
adb shell am start -n yourpackagename/.activityname
But is it possible to start an Android app via adb without knowing the Activity name? For example, by sending the android.intent.action.MAIN intent to a package? Maybe some command like this:
adb shell am start -a android.intent.action.MAIN -n packageName
Thanks!!
-Cosmo
adb shell am start -n packagename/.activityname
things; while Google "adb start app without knowing Activity name" won't filter out the duplicated SO question. So this question could be reasonably valuable.