how to edit apk xml files - XPERIA X10 Q&A, Help & Troubleshooting

I want to modify the chompsms app but when ever i convert the xml to a readable one and convert it back after compiling it it wont install on my phone. Why is this?

Related

[Q] Editing android 2.2.2 xml files

Does anyone know what i can use to edit the xml files extracted from Android 2.2.2 apks?
I've tried using both apk manager to decompile the apks and then edit the xml, and AXMLPrinter2 to convert xml to readable text for further editing with no results.

[Q] XML Edit

i need to edit the xml file to change the nunmber of sms before the phone converts it to mms....what application should i use...i found the apk but dont know how to edit it or even open it..!!

[Q] nuub question, can an .apk be lightly modified like this?

I am sure this would be a WTF for some people thats why I'm asking in the Q&A section.
I've noticed that .apk files can be renamed to .rar and, once decompressed, we can find files in a normal-structure in their real format (images, sounds, xmls, etc).
So I wonder, let's say, we want to modify one of the images inside the .apk. We would change it for another with the same name/size so no probs with that.
Could we decompress the .apk as a .rar, change the file, recompress it to a .rar and rename it to .apk, or we would **** permissions or something in the way?
Otherwise it needs some compiler or something I guess right? But then I wouldn't understand why it can be plainly decompressed as a .rar..
This should get you started;
To unpack/repack etc .apk use Apk Manager 4.9 - Makes Modifying Ur Apk A Breeze (Windows/Linux)
To modify .xml files, use Notepad++
UpInTheAir said:
This should get you started;
To unpack/repack etc .apk use Apk Manager 4.9 - Makes Modifying Ur Apk A Breeze (Windows/Linux)
To modify .xml files, use Notepad++
Click to expand...
Click to collapse
Thanks a lot mate! Very appreciated

[Q] Editing XML files

Does anyone know of a Xml editor to use for modifying the xmls on the VZW Note 2? I have used several including a couple of Hex editors but the format is still the same. I cannot see the values.
See attachment for format:
You didn't decompile the .apk where you got that from that's why you can't read it. Use APK Manager and decompile the .apk and it'll be read-able.
Android XML is compiled. You must decompile it. Alternately, you can view it on your device.
Thanks guys. I was just reading the SDK training kit online which outlined creating and editing. Now I know that the apk must be decompiled.
Again, thanks!

[Q] [Help] Can you edit .Tex files in an APK for android?

Hi,
I really want to edit an app as a joke for my friends and i have downloaded the APK and viewed the files.
All of the images seem to be .TEX format, i have googled how to edit them but cant find a solution.
How can i edit them and put my own image in?
Thanks in advance,
You need to decompile the apk, edit the images (using the same filenames) and recompile again.

Categories

Resources