Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android XML Extracted from APK - Bad Encoding

Tags:

android

apk

Using DDMS I took a downloaded APK off my phone and unzipped it.

The PNGs look great, but when I try to read the XMLs their encoding is such that none of my text editors can read it (Word, Notepad, Visual Studio etc)

Is there something done to the XMLs in a APK that prevents us from reading them?

like image 799
Ian Vink Avatar asked Jul 27 '10 01:07

Ian Vink


1 Answers

You can decode them using a Java program - AXMLPrinter2.jar.

http://forum.xda-developers.com/showthread.php?t=514412

http://code.google.com/p/android4me/downloads/detail?name=AXMLPrinter2.jar&can=2&q=

I'm sure there are better details out there, but that should set you on the right path.

like image 72
mbafford Avatar answered Oct 13 '22 10:10

mbafford