Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reading Activity names from apk file in Android

I want to extract all the activities names from an android apk file. Any idea how possibly it can be done?

Thanx Kaps

like image 804
Smith Avatar asked Apr 20 '11 10:04

Smith


1 Answers

If you just want to list them from the command line you can use

aapt dump xmltree <apk-file> AndroidManifest.xml

The format is a bit perplexing at first, but all the info is there.

You need the Android SDK installed to do this, of course.

like image 144
Albin Avatar answered Nov 07 '22 19:11

Albin