Ok I'm posting this in hope that a developer will answer.
I have been trying to edit .xml files on the droid x. I'm running linux (who runs windows anyway) I have experience in c++ and scripting , but non in themeing.
I have download a bunch of xml file editors. The problem is that every time I open one with the editor I get a error saying " coding not supported ". What ia the deal here and why? Does anyone have any suggestions or ideas why?
Thank you xda
The .xml files need to be decompiled first. Otherwise, they are unreadable. The only way I know off is to decompile the entire apk file with apk manager or aapt.
Note that you have to recompile the apk (xml) before putting it back on your phone.
GL
Thank you makes sense.
B-dub25 said:
Ok I'm posting this in hope that a developer will answer.
I have been trying to edit .xml files on the droid x. I'm running linux (who runs windows anyway) I have experience in c++ and scripting , but non in themeing.
I have download a bunch of xml file editors. The problem is that every time I open one with the editor I get a error saying " coding not supported ". What ia the deal here and why? Does anyone have any suggestions or ideas why?
Thank you xda
Click to expand...
Click to collapse
Still working with this myself. You need to look on google code for smali/baksmaling, as this is what is used to compress/decompress the xml files.
Thank you systemadmin that's what I thought I had to do, decompile the. Xml file ,but just didn't now how thank you for your reply.
No worries. I have been working on trying to theme and what not myself, and it seems pretty complex at the beginning. Im trying to get some tips from like bignadad, acidbath, and some of the other big developers out here, but they are usually pretty busy and I haven't had much luck. If you start making some progress, send me a PM and share the love =)
Sent from my DROIDX using XDA App
Related
I'm starting to develop new apps and I needed to learn to do a specific thing - and there are apps for the stuff I want..
is it possible to look at the code of an apk file and then write own by using the apk as a guideline? kind of like reverse engineering an application???
thanks in advance.
I don't think u can directly reach to the original java code through the apk.
I've read about "disassembling" though.
Try googling "baksmali" for more info on a pretty disassembler project.
Ofc it would be better if you tried to ask the original creator for some help. Easier for you and better for the "development idea"
Ok, first sorry for posting this question, and I did search and found that the information is some what broken up and it confused me. Sorry I'm not a developer so the lingo is way far advanced.
But this is what I've gathered and done.
-I took an app that I wanted to edit. I got the images and did my PS CS4 editing to my liking and saved them.
-I did the draw9patch and manage to save them in a folder and then I put the correct names on the pngs with the 9 still at the end of the file name.
-I got lost with step no.6 of one of the threads talks about "eclipse" and thats where I'm lost.
I don't know what the heck its talking about workspace. I don't know what to do from here. Can somebody please explain it to me in laymans term. thank you.
You need to load up the sdk, eclipse is part of that.
evilkorn said:
You need to load up the sdk, eclipse is part of that.
Click to expand...
Click to collapse
I have the SDK installed but do I go to the SDK Manager or to the tools? if I go to the tools which app do I open? this is where I'm stuck at
Did you try this?
http://developer.android.com/sdk/index.html
@johnny quest: forget about that outdated method. Use apktool or ApkManager instead.
Brut.all said:
@johnny quest: forget about that outdated method. Use apktool or ApkManager instead.
Click to expand...
Click to collapse
hey brut is there a video or post relating to the steps on editing .9.png's using apkmanager or apktool? ive been looking into the draw9patch thing but everything i run into is an old post and i guess thats what you saying here. i was a total noob and now ive got down using theme porter, update.zip maker for modding stuff but ive only taken the png plunge seeing that most people are saying you gota be a pro to edit .9's and xml and all that. im fully capable of getting it im just not finding the right tutorial and info. any direction would be much appreciated
also im trying to mod my phone dialer (attached) is that something a semi-new modder can handle. eg-changing the background from black to white...the orange numbers from orange to white? just a shot in the dark you know
after all my hard work and no one helpong me i have done the update.zip to enable java on any phone most likely tried it on my HTC Desire with RCMix HD Rom that doesnt have the JAVA app in it
u can download from the attachments...
Sure guys u need RoOt
NOTE: DO Nandroid & Flash on your own Risk... but most important its working please test
Thanks too TheGhost1233 giving me one hint
if u like this just give me stars thanks
tnx bro ... that's amazing
JAVA is important
5 stars ..
l3zawi said:
tnx bro ... that's amazing
JAVA is important
5 stars ..
Click to expand...
Click to collapse
How is java important, android is based on java, an .apk is just a modified .jar and there are tools to change a .jar into an .apk so a jre or java vm isnt required
Nice. Can this use for website that require java applet security?
Sent from my HTC Desire using XDA App
java is very important for me thanks bro....
coolexe said:
java is very important for me thanks bro....
Click to expand...
Click to collapse
you r welcome
l3zawi said:
tnx bro ... that's amazing
JAVA is important
5 stars ..
Click to expand...
Click to collapse
AndroHero said:
How is java important, android is based on java, an .apk is just a modified .jar and there are tools to change a .jar into an .apk so a jre or java vm isnt required
Click to expand...
Click to collapse
this app can let u use any file that has a .jar or .jad ending and it has lots of usefull apps that u can u
najar360 said:
Nice. Can this use for website that require java applet security?
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
i dont knw about that give it a try and tell me
overall this app is to make it easy to use java files so have fun and plz report if there is anything wrong i can do
thanks for this
but it doesn't seem to integrate into the browser.. i flashed it and went to java.com and it couldn't confirm that i have java installed. not sure if this was your goal, but it would have been awesome
omniwolf said:
thanks for this
but it doesn't seem to integrate into the browser.. i flashed it and went to java.com and it couldn't confirm that i have java installed. not sure if this was your goal, but it would have been awesome
Click to expand...
Click to collapse
:s that is something else this app is just to let JAVA files or apps work on the phone
Why is there no java.apk in this zip file? Also, recovery throws up an error: Unable to find "system/customize/MNS/52099.xml" in Manifest file or something like that when tried to flash this zip..
I get an error for a missing file system/customize/MNS/52099.xml and then it says verification failed... anyone know how to fix this
ashkool said:
Why is there no java.apk in this zip file? Also, recovery throws up an error: Unable to find "system/customize/MNS/52099.xml" in Manifest file or something like that when tried to flash this zip..
Click to expand...
Click to collapse
There is ... in sdext and then app_s
New update
K so i made this updated Java update that should work on everyone else's thats giving the error that it gave me so test it out and always do nandroid backups!!
how exactly do i use that once flashed? i have a .jad file but it wont work...the only way i've got it work is with foundation profile midp installed, and that is very ugly. not even sure about security since i want to use it for m-banking?
works on CM RC2 ?
Sorry , Mistakenly Posted.
I am new to theming, and was just going to reach a kind hand out for some help... i can get into the framework and all but just missing some steps on how to put it all back together. any help would be appreciated, and if i am posting in the wrong location feel free to delete or move the post. thank you
Use winrar to open the framework-Res and mess with those files then just put them back in framework-Res with winrar.
Rel500 has a great themeing guide. Thats how I got started check it out and if you have any questions ill be glad to answer it for you
Hope that helped.....
Sent from my SGH-T959 using XDA App
Search for a program called "Apk Manager"
Play around with your frameworks...
Soon you'll get the hang of it...and don't be afraid to ask around
Great thread. I'm in the exact same position. Looking forward to creating MY theme.
Anyone know what program to use to view/edit the xml files?
buru898 said:
Anyone know what program to use to view/edit the xml files?
Click to expand...
Click to collapse
the apk must be de-compiled first (use Apk Manager for that)...then use Notepad++ to view/edit xml's..the re-compile using Apk Manager
Im still fairly new to the theming scene, but ive found a good place to start is by porting a theme, find a theme you like on another theme and port it to the vibrant teaches you quite a bit about theming minus creating images from scratch.
some essential apps i have found are:
gimp (for image editing)
apk manager
notepad++
of course android sdk for draw9patch and other android utilities
other programs i may be forgetting.
Ive heard cs5 and corel are really good for creating icons and the like but im a college student and dont have the cash for those kinda programs
shreddintyres said:
Im still fairly new to the theming scene, but ive found a good place to start is by porting a theme, find a theme you like on another theme and port it to the vibrant teaches you quite a bit about theming minus creating images from scratch.
some essential apps i have found are:
gimp (for image editing)
apk manager
notepad++
of course android sdk for draw9patch and other android utilities
other programs i may be forgetting.
Ive heard cs5 and corel are really good for creating icons and the like but im a college student and dont have the cash for those kinda programs
Click to expand...
Click to collapse
Neither do i
when using notepad++ I get alot of jiberish, how do I edit when the things the guides on xda tell you to search for arent in the xml code?
sorry about duplicate post but heres a pic
aamir123 said:
when using notepad++ I get alot of jiberish, how do I edit when the things the guides on xda tell you to search for arent in the xml code?
Click to expand...
Click to collapse
You need to decompile the apk using Apkmanager or apktool in order to view the xml in a readable format.
Ginger Clones of the World Unite!!! via the XDA App
aamir123 said:
when using notepad++ I get alot of jiberish, how do I edit when the things the guides on xda tell you to search for arent in the xml code?
Click to expand...
Click to collapse
You have to decompile the apk to edit the xmls.
Sent from my SGH-T959 using XDA Premium App
Hello,
I'm trying to learn how to edit .apk files,
So after a bit of reading I got dex2jar working, and now I can see the actual code with jd-gui.
1. How can I edit the classes that are in jd-gui?
2. How can I repack everything to a .apk file?
Thanks.
I would suggest you learn to do basic stuff with the android ask, any questions pm me and ill be glad to help. Does dex2jar realty work, think I might take a look at that.
leoon said:
Hello,
I'm trying to learn how to edit .apk files,
So after a bit of reading I got dex2jar working, and now I can see the actual code with jd-gui.
1. How can I edit the classes that are in jd-gui?
2. How can I repack everything to a .apk file?
Thanks.
Click to expand...
Click to collapse
That's impossible. Only reading, no reassembling. For editing you need to learn Smali.
Sent from my GT-I9100 using XDA App