The Wayback Machine - https://web.archive.org/web/20201207082238/https://github.com/shazam/axmlparser
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

AXML parser

An updated version of AXMLParser, compatible with aapt2.

The library allows you to parse binary XML (such as the AndroidManifest.xml) from a generated APK file.

The current implementation is based on the android4me project, on the work of Ryszard Wiśniewski and Dmitry Skiba: https://code.google.com/archive/p/android4me/

Gradle dependency

dependencies {
    compile 'com.shazam:axmlparser:1.0'
}

Example

AXMLParser parser = new AXMLParser(apkFileInputStream);
int eventType = parser.getType();
while (eventType != AXMLParser.END_DOCUMENT) {
    String parserName = parser.getName();
    boolean isManifest = "manifest".equals(parserName);
    [...]
    eventType = parser.next();
}

About

An updated version of AXMLParser, compatible with aapt2

Topics

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.