• Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Android binary XML format

VectraMan

Lord of the Vectras
Joined
Dec 28, 2005
Messages
11,460
Likes received
1,218
Thanks received
233
Location
European Union (Yorkshire)
This is a bit of a long shot:

Android applications comes as a .apk (which is a zip), and inside there is a file called manifest.xml. You might reasonably think this was an XML file, but in fact it's a "binary XML" file - a mysterious format that the Android SDK tools magic up out of a real XML file. I'm trying to rewrite / modify that file, but I can't find anything on the format, other than some odd mention of some python code in a repository somewhere that maybe decodes it.

Does anyone have the slightest idea where I can find the details of this format?
 
This is a bit of a long shot:

Android applications comes as a .apk (which is a zip), and inside there is a file called manifest.xml. You might reasonably think this was an XML file, but in fact it's a "binary XML" file - a mysterious format that the Android SDK tools magic up out of a real XML file. I'm trying to rewrite / modify that file, but I can't find anything on the format, other than some odd mention of some python code in a repository somewhere that maybe decodes it.

Does anyone have the slightest idea where I can find the details of this format?

Have you looked at XDA Developers?
 
Thanks. That does look like it might work.
 

Advertisers

Back
Top