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

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

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -