android - How to parse the AndroidManifest.xml file inside an .apk package -


this file appears in binary xml format. format , how can parsed programmatically (as opposed using aapt dump tool in sdk)?

this binary format not discussed in documentation here.

note: want access information outside android environment, preferably java.

use android-apktool

there application reads apk files , decodes xmls original form.

usage:

apktool d gmail.apk && cat gmail/androidmanifest.xml 

check android-apktool more information


Comments

Popular posts from this blog

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

c++ - Convert big endian to little endian when reading from a binary file -