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
Post a Comment