android - Launch App via adb without knowing Activity name -
this question has answer here:
note: not general question starting android application using android adb tool, community member thinks duplicate of. stated below, know it's possible via adb limitation need know activity name.
so question how launch app adb without knowing activity name.
from post is possible start activity through adb shell?, can start android app via adb by
adb shell start -n yourpackagename/.activityname but possible start android app via adb without knowing activity name? example, sending android.intent.action.main intent package? maybe command this:
adb shell start -a android.intent.action.main -n packagename
yes, possible launch app via adb shell making use of monkey tool.
using command this answer:
adb shell monkey -p app.package.name -c android.intent.category.launcher 1 this command simulates app icon click, intent implicit intent launcher delivered specific receiver declared in app manifest (main)
Comments
Post a Comment