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
Related
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
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
I see all themes ive wanted required "deodexed", but yet I cant find any information on how to "deodexed" lease.link.me.to.solution:
Thanks
allow me to assist you in your search:
http://tinyurl.com/27q5ml8
...wise guy huh
"De-odex: Apk files have respective odexes that devs use to supposedly save space. Deodexing means you convert it back to a .dex file and put it back inside the apk. This allows you to easily replace files (not having to worry about odexes), but the main point was to deodex services.jar so that you can change all text to different colors (such as the clock color to white) and to deodex services.jar, you need to deodex everything. "
I understand this aspect...but is there like a guide for (apparently) noobs? As that is what I can seem to find....
perhaps you should read a little in the dev forum??
http://forum.xda-developers.com/showthread.php?t=1162764
found it all the way on page 3...and i also found it by.... GOOGLING: deodex atrix
i also found it using the XDA SEARCH feature...remarkable thing it is: deodex atrix
sorry if you find these responses sarcastic, but for pete's sake...i had to do a SEARCH to find it....and find it I did. i cant imagine your search would be that different.
also, this should have been posted in Q&A, and any custom rom you are on is probably ALREADY deodexed...as its basically a standard that everyone does when building a rom.......
...must be my browser results thats failing No worries man, I reply the same way on other msg.brds that I have been on for since 2002 (other topics apparently LOL). Thanks alot.
So I would like to learn how to develop apps for the android OS. I'm not sure where I should put this (sorry if in wrong section). I would like to learn how to code and do all the steps in app development. I have absolutely ZERO experience in coding other then changing the dedicated RAM for Minecraft. If someone could tutor me maybe twice a week or link me to other forums that explain this sort of thing and provide support for people. I would be very happy for either if the two! Thank you guys!
Learning Java
Hi NamesBass
Android development is basically Java. I learned it from a while. The easiest way is to watch some YouTube videos. Also very helpful are the official tutorials and sample apps. You can find them here: developer.android.com/training (Sorry I haven't 10 posts yet so I can't post direct URLs). Then start coding and when you stuck somewhere use google and learn from it
~LoXeras
read book
read books, good books on programming - Android in 24 hours (loren Dersy( i ), Sheyn Kondor), and Android 2 ( Reto Mayer)
Thank you for the help.
Sent from my Nexus 5 using XDA Free mobile app
Thanks for your help. I'm going to start tonight.
Sent from my Nexus 5 using XDA Free mobile app
Java, java, java. Not JavaScript! Java, java, java!!!!
I'm having problems
LoXeras said:
Hi NamesBass
Android development is basically Java. I learned it from a while. The easiest way is to watch some YouTube videos. Also very helpful are the official tutorials and sample apps. You can find them here: developer.android.com/training (Sorry I haven't 10 posts yet so I can't post direct URLs). Then start coding and when you stuck somewhere use google and learn from it
~LoXeras
Click to expand...
Click to collapse
So I have run into trouble doing this lesson and I'm not sure why I didn't do it right. I thought I followed all the steps but my code lines and the ones on the website are different. Could you give your thoughts? Thanks!
gyazo.com(slash) febe01e0840369e9a4d6ebfc5c3abfea (ScreenShot)
NamesBass said:
So I have run into trouble doing this lesson and I'm not sure why I didn't do it right. I thought I followed all the steps but my code lines and the ones on the website are different. Could you give your thoughts? Thanks!
gyazo.com(slash) febe01e0840369e9a4d6ebfc5c3abfea (ScreenShot)
Click to expand...
Click to collapse
Use Android Studio download and work though the tutorials or android app development. loads of videos to follow. (Java)
uuugh
Just Call It said:
Use Android Studio download and work though the tutorials or android app development. loads of videos to follow. (Java)
Click to expand...
Click to collapse
okay so i downloaded that and tried to set it up but an error message came up saying I need to add an environment variable for JAVA_HOME. I did this and it went something like C: Program Files\Java\jre7\bin\Java and when I launched the program, it told me to direct it to JDK not jre7, but I dont have a JDK file. I did a system search and nothing came up.
NamesBass said:
okay so i downloaded that and tried to set it up but an error message came up saying I need to add an environment variable for JAVA_HOME. I did this and it went something like C: Program Files\Java\jre7\bin\Java and when I launched the program, it told me to direct it to JDK not jre7, but I dont have a JDK file. I did a system search and nothing came up.
Click to expand...
Click to collapse
You are pointing to the jre7 folder in Program Files/Java. You should change that to the jdk folder.
e.g. My JAVA_HOME variable is C:\Program Files\Java\jdk1.8.0_05
So I change jre7 to JDK(whatever)?
Sent from my Nexus 5 using XDA Free mobile app
how
hey please help me how to devlop own anrohd apps
Jogny said:
You are pointing to the jre7 folder in Program Files/Java. You should change that to the jdk folder.
e.g. My JAVA_HOME variable is C:\Program Files\Java\jdk1.8.0_05
Click to expand...
Click to collapse
Why are you using JDK 8 for Android? It's not officially supported by Android SDK. Do you see any improvements/problems in compare with JDK 7?