Skip to content

axmlparserpy,Android的XML解析器的Python实现

Notifications You must be signed in to change notification settings

cherrishes/AxmlParserPY

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AxmlParserPY

axmlparserpy,Android的XML解析器的Python实现

-------------------------------------------------------------------

version: 0.0.2

-------------------------------------------------------------------

Example:

  1. convert apk binary manifest to string manifest. import axmlparserpy.axmlprinter as axmlprinter

ap = axmlprinter.AXMLPrinter(open('example/binary/AndroidManifest.xml', 'rb').read()) buff = minidom.parseString(ap.getBuff()).toxml() print(buff)

  1. get apk information

    import axmlparserpy.apk as apk ap = apk.APK('_PATH_TO_APK') print (ap.get_package()) print (ap.get_androidversion_name())

About

axmlparserpy,Android的XML解析器的Python实现

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages