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

List<T>().Add problem C# -

Javascript natural sort array/object and maintain index association -