aapt - Automated Way to Find Android Activity -


i have built script, part of automation tool i've developed, needs open apk , find activity can launch it. have used:

aapt dump badging x.apk 

which 'should' dump out activity(s) of application. times has, others has not. there more reliable method dump activities of application script can pick activity , launch package via adb instrumentation?

you can use

$ aapt dump --values xmltree <name>.apk androidmanifest.xml 

and have parse output find activities.

remember have find instrumentation in manifest if intention run instrumentation automatically.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -