siberider / androguard

Automatically exported from code.google.com/p/androguard
Apache License 2.0
0 stars 0 forks source link

XML resources API getter #148

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. a = APK("....")
2. for f in a.get_files():
    if f.endswith(".xml"):
        print(a.get_file(f))

What is the expected output? What do you see instead?
xml files of res/layout, gotten raw hex data instead

What version of the product are you using? On what operating system?
androguard 1.9
python 2.7
Max OS X 10.9

Please provide any additional information below.
How can i retrive the correct xml files and not the raw data in HEX?
in documentation i found only:
get_elements() / get_element() to retrieve some part of xml file but i'll need 
the xml files in folder res/layout

Original issue reported on code.google.com by giuseppe...@gmail.com on 20 Dec 2013 at 4:15