how do i know what the xml controls?
and how to read them properly and edit them
iv read an read but havent found anuff detail to understand
DubsideWICKED said:
how do i know what the xml controls?
and how to read them properly and edit them
iv read an read but havent found anuff detail to understand
Click to expand...
Click to collapse
to read the properly you need to either decompile them and get an xml editor or get notepad++ with the hex plugin.
what are you look for control of?
Related
I am just getting rolling with Android developement and hacking so while I get my legs on the app developement and theming I thought I would offer my assistance with any xml editing that needs to be done as I noticed there were quite a few references to people needing help editing xml.
PM me with any assistance you need editing/modifying xml.
dashultz said:
I am just getting rolling with Android developement and hacking so while I get my legs on the app developement and theming I thought I would offer my assistance with any xml editing that needs to be done as I noticed there were quite a few references to people needing help editing xml.
PM me with any assistance you need editing/modifying xml.
Click to expand...
Click to collapse
What tools are you using? Once you pull a XML file from an APK what are you using to open, read, and edit the files? Thanks!
KenIzz said:
What tools are you using? Once you pull a XML file from an APK what are you using to open, read, and edit the files? Thanks!
Click to expand...
Click to collapse
Decompile using apk manager, then edit whatever xml using something like notepad++ or any other rich text editor. After done editing, compile and sign.
I'm sorry if this question had been asked already, but I've been googling for 2 days and I'm going crazy...
I found tutorials such as this one, but I don't have a statusbar_background.png file in the drawable folder, in there I only have status_bar_background.hml. I have statusbar_background.9.png in the drawable-mdpi folder where the other requested files are also located, but I'm reluctant to use it since I don't exactly know whats the difference between .png and .9.png. Another tutorial , besides statusbar_background.png, also asks for classes.dex, extracted from services.jar, and I don't have this one either. I guess it's a Froyo thing all these little differences, but I don't want to improvise, so can anyone, please, help out with a tutorial or suggestions on how to edit the status bar for this built?
All useful help much appreciated! Thanks!
P.s. I'm uploading the framework-res.apk, extracted from my phone, in case someone needs to see what it consists of and how things are organized inside.
Do I have to deodex? If so, how?
Anybody?
when it comes to modifying the xml files that come with a roms framework, I would have to use backsmali to disassemble the framework odex file right? Provided my rom hadn't already ben deodexed.
After doing that will I still have to decompile the apk before the xml files become tradable again? I've tried looking around for threads on the topics. But all information I can find about these things, the threads don't relate to the same subject so its hard to put compiling and smali together when everything is using different examples to explain themselves.
http://forum.xda-developers.com/showthread.php?p=8090714#post8090714
This guide for modifying android policy might help
Yeah! That's the thread that got me started. But when it comes to using smali I'm not really sure, because the how to's I've read on that really only explain how to deodex files.
I'm trying to figure out what happens next. Because the OP of that thread doesn't go into detail.
My knowledge about the android development is mediocre....I have Samsung galaxy tab 2 P3100.....I rooted that myself and i can flash different roms.....thats all i know about android....Any help will be appreciated...
Is there any way i can edit .apk file. I want to change the GUI of a particular application. The name of the application is 7notes with mazec.
the attachment contains 2 images.
1) This is how the original app looks like [red square]
2) I want the app to look like this...
I can send the .apk file or only instructions also will do...
Thanks in advance!!
Similarly can i edit the GUI of any application..
You can edit the .apk but you have to decompile with apktool and edit .xml files to accomplish this. I'm no programmer but I have learned how to decompile and recompile .apk and make minor adjustments. If you know how to write xml then it shouldn't be that difficult but first you should search the forums for how to use apktool.
Steeleio said:
You can edit the .apk but you have to decompile with apktool and edit .xml files to accomplish this. I'm no programmer but I have learned how to decompile and recompile .apk and make minor adjustments. If you know how to write xml then it shouldn't be that difficult but first you should search the forums for how to use apktool.
Click to expand...
Click to collapse
Thnx Steeleio....i will try that.....i dont know xml....i will search on that too.....can u suggest me some forums to learn apktool?
I have done THIS guide which should be of some help, but repositioning buttons and icons is something you'll need to Google for and experiment with.
AkshayGTP3100 said:
Thnx Steeleio....i will try that.....i dont know xml....i will search on that too.....can u suggest me some forums to learn apktool?
Click to expand...
Click to collapse
XperienceD said:
I have done THIS guide which should be of some help, but repositioning buttons and icons is something you'll need to Google for and experiment with.
Click to expand...
Click to collapse
Akshay, your welcome. The link Xperience provided seems to be an excellent guide to apk edits. Once you learn how to decompile and start relating the xml coding with how things are laid out in the UI, you should be able to figure out how to produce the output that you want. Good luck.
XperienceD said:
I have done THIS guide which should be of some help, but repositioning buttons and icons is something you'll need to Google for and experiment with.
Click to expand...
Click to collapse
I read your entire post and it was very helpful to get started.....I successfully decompiled the .apk using apktool.....found out where the .img images are.....now i guess i will have to edit the xml code related to the .imgs i want to be relocated....right?.... just point me in the right direction.... i can send you the apk file of the application....
AkshayGTP3100 said:
I read your entire post and it was very helpful to get started.....I successfully decompiled the .apk using apktool.....found out where the .img images are.....now i guess i will have to edit the xml code related to the .imgs i want to be relocated....right?.... just point me in the right direction.... i can send you the apk file of the application....
Click to expand...
Click to collapse
Great stuff. It is now about figuring out how to go about repositioning the images, but that task is something you're going to have to do I'm afraid as it can be a time consuming process, especially when learning, plus repositioning is above my skill set.
AkshayGTP3100 said:
I read your entire post and it was very helpful to get started.....I successfully decompiled the .apk using apktool.....found out where the .img images are.....now i guess i will have to edit the xml code related to the .imgs i want to be relocated....right?.... just point me in the right direction.... i can send you the apk file of the application....
Click to expand...
Click to collapse
Look in /res/layout/
Send me the APK, I'll see if I can guide you in the right direction.
DemonWav said:
Look in /res/layout/
Send me the APK, I'll see if I can guide you in the right direction.
Click to expand...
Click to collapse
Here is a link for the .apk file...... https://www.dropbox.com/sh/xnm0f7qax191raw/KZRRuJSsh-
I found the layout folder already.....i think the related xml code is in the /res/layout/keyboard_handwriting.xml file.... am i correct?
i dnt know anything about the xml.....mean while, i will try to find out how to relocate the layout for the buttons.....
This might be the completely the wrong place, but can someone do my a huge favor and modify my SystemUI.apk to remove the clock and possibly the battery. I have tried using baksmali and apktool but i must be doing something wrong, thanks.
Yep, it's the completely wrong place.
-> http://forum.xda-developers.com/showthread.php?t=2233991
Thanks guys, but thats the issue, I cant use Apktool.
nintendolinky said:
Thanks guys, but thats the issue, I cant use Apktool.
Click to expand...
Click to collapse
I can guide you on IRC
nintendolinky said:
This might be the completely the wrong place, but can someone do my a huge favor and modify my SystemUI.apk to remove the clock and possibly the battery. I have tried using baksmali and apktool but i must be doing something wrong, thanks.
Click to expand...
Click to collapse
Did you have a look there ? ( v-b-n thread)
http://forum.xda-developers.com/showthread.php?t=2233991
Cheers.
Yeah I looked at that, and i can decompile the apk, but i get errors, im thinking it might have something to do with, proprietary framework files i need, which i don't have. And thanks Mike1986, I will go on your IRC now.
Can anyone do me a huge favour, could someone please remove the clock and the battery from the statusbar. Looking at this Remove Clock it guides people through on how to do it, I cant as I seem to be unable too, can anyone help.
This isnt asking for help, this is asking for someone to do it for you which is different. If you dont wanna understand the process, you probably shouldnt be asking for the mod
Talk to mike on IRC to begin with
Make sure you install the framework files for the One (pull it from /system/framework) to apktool and THEN try decompiling it
Hi try this one.
Dont work mate, but thanks anyways.