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

Change php variable from jquery value using ajax (same page) -

How can I fetch data from a web server in an android application? -

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