Related
I was curious if anyone knows how to unencrypt(sp?) xml files. I am trying to build a theme and wanted to browse through some xml's to see if I could change the color of the digital clock on the status bar, among other things. I tried googling to no avail. Is this even possible at this time, or am I just going to have to wait until someone figures out how to unencrypt these files? Just some general advice on how this filetype behaves in android would be appreciated as well. Thanks in advance...
Stericson is currently in the process of this. He'll let us know when he's got it.
Shoulda figured Stericson had a hand in this matter. He is extremely valuable in the development of our devices, in fact, I almost sent him a PM to ask him about this matter directly, but I wanted to gather some general info/advice from everyone. Thanks for the reply Phromik, and thanks be to Stericson too, for being such an indispensable asset to these forums.
Ahhh, many thanks....Unfortunetly, this is not easy in the least. As for right now the xmls can be decrypted, vis some tool online you can find by googling, but you can also see the xmls in plain text by downloading the source and looking through them. I am trying hard to get these done but it is not easy in the least. Much more difficult then what we are doing now.
We will get it though, no worries, just may take some time.
Stericson
has anyone successfully edited the .9 images and got them working in their themes ?
Plz reply the poll too...
check out teknotiq, he explained some of the information to me about his work with editting .9 pngs... also most themes such as BUUF, Fadte to Blue, Stericson's themes, all have .9 pngs edited... you can check with them as well
I too have got them successfully edited...
i have made this thread just to know wheather .9.png images are changed widely ?
so thanks on your reply....
want more people reply....
They can be changed but they always break, I have never had one loop me at the boot screen. Some look ok and others dont, its just trial and error.
I've noticed the best way to change these .9.pngs is to give them a 1 pixel border. The buttons for instance, the inside is one color and the border should be a 1 pixel black or whatever color of the theme. You have to erase the corners to, if not they stretch weirdly.
hey pud, try editing the clear notifications button and change its color, without it breaking. Then send me a pic. I was stuck on this forever....
damnitpud said:
I've noticed the best way to change these .9.pngs is to give them a 1 pixel border. The buttons for instance, the inside is one color and the border should be a 1 pixel black or whatever color of the theme. You have to erase the corners to, if not they stretch weirdly.
Click to expand...
Click to collapse
i do it the same way
Stericson said:
hey pud, try editing the clear notifications button and change its color, without it breaking. Then send me a pic. I was stuck on this forever....
Click to expand...
Click to collapse
I ll try doin that and give it to u...
I figured out the .9.pngs! The procedure is here! Updated: 02/13/09
::New:::
If you have downloaded the SDK and Eclipse, you have all the tools you need, If not you should grab them and follow Google's guide.
This process is somewhat a pain in the butt, but worth it. You need to take the .9 off of the file name that you want to change, then drag it into the draw9patch tool from the Android SDK(in the tools folder) Here is some info about draw9patch. Pay attention to the Note in the middle of the page. Once you have your 9patch file edited and saved you need to compile it, the lines will remain on this .9 image until it is compiled with eclipse. you need to open a project, or create one in eclipse, drag the .9.png into the drawable folder, then right click your project folder and choose android tools/export unsigned application package. Once this is done, you want to open the apk with WinRar and pull your .9.png files out. you will notice the lines are gone! That is all, I am sure people who have not downloaded the SDK and Eclipse yet might have problems understand this process, but I will try to help you. I am not a guru with Eclipse but i know enough to get by.
Good luck and happy stretching =)
Playing with the SDK today, i found in "SDK\tools\lib\res\default\drawable" all of the .9.pngs have the black lines intact. These could be good for learning the best way to stretch these images. Also the xmls have not been converted to binary, so it might make for some interesting hacks for themes.
Here is a screen shot of the draw9patch tool. The bottom and right sets the content area and the left and top set the stretch area.
I am not sure if i am going to disclose this info just yet (because of the competition) but i wanted to let everyone know its been figured out and we will all know very soon!
i am uploading some screen shots now with some perfect buttons! Anyone who has used my theme knows the buttons looked somewhat messy, well no longer will they be.
damnitpud said:
I am not sure if i am going to disclose this info just yet but i wanted to let everyone know its been figured out and we will all know very soon!
i am uploading some screen shots now!
Click to expand...
Click to collapse
way to go! excited to see some sshots!
looks amazing man! I've been using this theme for the last week and i must say its totally grown on me. Thanks for putting out some kick ass updates
Great to hear.
To tell you the truth, I loved your theme. The only reason I uninstalled it was because of the .9.pngs stretched out and looked bad.
After seeing these pics though I will reinstall =)
That's cool but this theme competitions is starting to suck, no one want to share any info due to fear of losing. I'm fearing this comp.. my be counter productive.
are some .9's harder to edit than others? never tried editing the buttons and such but the ones i've tried editing (the notifications bar etc.) seem not to mess up, no matter what i do to them. are some of them just really temperamental?
Not me if i had info like that i would share it because for me i don't care if i win or lose one this not my first comp and second i have been doing this to long.
@Damnitpud
Good work bro.
For the few .9 pngs I have modified so far I just used the layer blending properties to apply an overlay with some opacity and saw no ill effects. I haven't done many yet, but if I am just changing colors, I don't see why this shouldn't work for all fo them. Since it preserves the original shapes and layouts, just adds a tint to the image.
I am going to type up the steps to getting the .9s working properly. I am going to end up sharing the info, i'm not one to usually hoard info. There is still some learning to do with the draw9patch tool, but at least we can get rid of those damn lines after messing with it in in the draw9 tool.
I will add it to the first post of this thread.
Meltus said:
are some .9's harder to edit than others? never tried editing the buttons and such but the ones i've tried editing (the notifications bar etc.) seem not to mess up, no matter what i do to them. are some of them just really temperamental?
Click to expand...
Click to collapse
Yes some are very hard and only distort at larger sizes. The buttons are very difficult, even opening them up and saving the file will break it. you don't even have to change anything. Try changing the btn_default_normal.9.png and use the stock btn_default_pressed.9.png. you will see a big difference when you press that button.
That's cool but this theme competitions is starting to suck, no one want to share any info due to fear of losing. I'm fearing this comp.. my be counter productive.
Click to expand...
Click to collapse
I agree, that is why i am going to release the info, its pretty simple but very tedious. Not as bad as compressing the images like i figured out before. But that's only because there is not as many.
Not me if i had info like that i would share it because for me i don't care if i win or lose one this not my first comp and second i have been doing this to long.
@Damnitpud
Good work bro.
Click to expand...
Click to collapse
This is the first time...well second time i have found something the community was looking for answers to, i am normally one of the herd waiting for the relases...not doing the release myself. i would love to win the competition, but i doubt perfect buttons will give me that much of an edge. =)
And thank you!
manup456 said:
Not me if i had info like that i would share it because for me i don't care if i win or lose one this not my first comp and second i have been doing this to long.
@Damnitpud
Good work bro.
Click to expand...
Click to collapse
I agree. I want to get into the comp but it's not for the money. I'm doing it because it's fun to see what people can come up with and I enjoy a challenge. Besides isn't the comp about who's theme is most aesthetically pleasing, since none of us are releasing the themes to the public until after the comp no one will see those things anyway unless you post up 100 screens shots that is.
I gave away my secret in the first post =)
Sweet jesus.
You've opened a whole new can of worms.
The world is in our hands, now.
Hey all, Ive been thinking about what i miss about my pre, and besides the obvious wireless charging (one can dream, right) touchstone, the one other thing i miss the most is the glowing of the trackball device at the bottom of the phone for a notification.
Now i know there are many people who have WIMAX Notifier and will say to use that, but i really dont like it as much as a more behind the scenes and clean look, and W.N. keeps crashing and is really buggy.
My app idea would incorporate the 4 buttons at the bottom using different patterns for different notifications.
Ex:
Text: Glow all 4 slow
Email: Run from right to left back to right and repeat. (8 secs for one rotation)
Missed call: Glow only home
etc.
I searched and was not able to find anyone in the developing stages of an app for this. I would be more than happy to assist with the coding, but i have no programs or anything downloaded so far, and dont really have any idea what im doing, though i do know C, Java, & C++ a bit and can learn coding quickly.
Any idea on if this could be made to work, im pretty sure there has to be a way the light sensor sends a signal to the mocrocontroller to light the keys, but can it be done independently, outside of that code section? Any words of where to start with development of this app?
Thanks for the advice, please keep it relavent and to the point, i would REALLY like to make this a reality. Also please link me to any current development on this if you can find any.\
PS. I have an evo 4g, but i assume this would be a global android app.
PPS. Dont let my 2 post count dissuade you from the ferver i have to make this app a reality. I dont post a ton, but i am very serious about creating/developing this app with some help.
06g35meister said:
Hey all, Ive been thinking about what i miss about my pre, and besides the obvious wireless charging (one can dream, right) touchstone, the one other thing i miss the most is the glowing of the trackball device at the bottom of the phone for a notification.
Now i know there are many people who have WIMAX Notifier and will say to use that, but i really dont like it as much as a more behind the scenes and clean look, and W.N. keeps crashing and is really buggy.
My app idea would incorporate the 4 buttons at the bottom using different patterns for different notifications.
Ex:
Text: Glow all 4 slow
Email: Run from right to left back to right and repeat. (8 secs for one rotation)
Missed call: Glow only home
etc.
I searched and was not able to find anyone in the developing stages of an app for this. I would be more than happy to assist with the coding, but i have no programs or anything downloaded so far, and dont really have any idea what im doing, though i do know C, Java, & C++ a bit and can learn coding quickly.
Any idea on if this could be made to work, im pretty sure there has to be a way the light sensor sends a signal to the mocrocontroller to light the keys, but can it be done independently, outside of that code section? Any words of where to start with development of this app?
Thanks for the advice, please keep it relavent and to the point, i would REALLY like to make this a reality. Also please link me to any current development on this if you can find any.\
PS. I have an evo 4g, but i assume this would be a global android app.
PPS. Dont let my 2 post count dissuade you from the ferver i have to make this app a reality. I dont post a ton, but i am very serious about creating/developing this app with some help.
Click to expand...
Click to collapse
Already been done, go search the apps forum
Thread moved to Q&A.
jerryparid said:
Already been done, go search the apps forum
Click to expand...
Click to collapse
PM link? Cant find after hours of searching!
jerryparid said:
Already been done, go search the apps forum
Click to expand...
Click to collapse
It actually has not been done yet. All that has been done is Flashlight Alerts and WiMax Notifier.
jabbawalkee said:
It actually has not been done yet. All that has been done is Flashlight Alerts and WiMax Notifier.
Click to expand...
Click to collapse
Right, which are not clean at all. I want a more subtle item that is similar to the pre functionality.
Thanks for the clarification, ive been looking forever and couldnt find what i was looking for.
I think that is a great idea and would look cool as hell. Try making a quick flash demo to illustrate your idea. I'm with you and can definately visualize it but, maybe others can't. Don't give up, it's a great idea.
Blackcircle said:
I think that is a great idea and would look cool as hell. Try making a quick flash demo to illustrate your idea. I'm with you and can definately visualize it but, maybe others can't. Don't give up, it's a great idea.
Click to expand...
Click to collapse
I think it's a FANTASTIC idea having the 4 bottom capacitive buttons blinking/flashing/glowing for notifications. I would definitely pay for this.
The number one thing I miss about my Nexus One (which I sold back in May) is the trackball notifications where it would glow different colors. Getting the 4 bottom buttons to glow/flash would suffice for me. $10 bounty pledged by me!
This would be such an awesome app...
Alright guys it sounds like there is an interest in making this happen. I will start to look into what it will take for the process to begin.
Stage 1: Getting a coding program installed and getting the HTC Sense open source code to start looking into the light sensor callout for hints of making the bottom LED's come on.
I am committed to this one guys! Sounds like there is a definate want for it thus far.
Good luck man...with all the devs have done with this device, I dont see why this wouldnt be possible.
Btw.... shouldnt this thread be in Apps/Themes section?
sent from EVO with XDA app.
This sounds great!
Alright guys, small update, got the software downloaded and the code/sdk for android 2.2. Wasnt motivated enough to put on my nerd hat and get into the code and start searching out the specific lines im looking for. The good news is I have a flow chart laid out for the notification in each scenario.
Gotta figure out how to ensure the program boots on startup and continues working until force closed.
I will be starting with Froyo, and will move it back to 2.1 eventually. My primary focus will be 2.2 on the Evo.
Welp guys i spent 10+ hours this weekend just to figure out that those LED's are only allowed control when the screen is on. This app is not possible without a significantly more experienced developer, who could make the screen control independent of the LED's. Given my little experience this has become too difficult for me to handle. I will sell my idea for free though!
Thanks for trying, would def be awesome if someone could come up with this. My old samsung instinct use to light up the bottom when it had messages, being that it was a samsung as well, I would *think* (i'm not developer) that there are def ppl with the skills to figure this out .... eventually =) thanks for trying....
Hey all. I'm not sure if this question has an obvious answer, but...how on earth do you know what images to change when creating a theme? It took me a while to realize that the dialpad was in the contacts apk, and I'm constantly searching for which image goes with the corresponding image on the phone. Is there an easy way to look at, say, the messaging app, and know which images within the apk I need to edit? It can't be simple trial and error, or I'm sure many of you would've gone crazy creating the themes you've brought here. Please, if anyone can point me in the right direction I'd really appreciate it. Thanks.
morrison0880 said:
Hey all. I'm not sure if this question has an obvious answer, but...how on earth do you know what images to change when creating a theme? It took me a while to realize that the dialpad was in the contacts apk, and I'm constantly searching for which image goes with the corresponding image on the phone. Is there an easy way to look at, say, the messaging app, and know which images within the apk I need to edit? It can't be simple trial and error, or I'm sure many of you would've gone crazy creating the themes you've brought here. Please, if anyone can point me in the right direction I'd really appreciate it. Thanks.
Click to expand...
Click to collapse
Think again. Trial and error all the way. There is no this image goes here type guide.
Hi there,
I'm not sure if this is the right forum for this, so please let me know if I'm in the wrong place. I've been searching for days and days for a definitive method of changing the system font color in TW. I've tried al the guides out there, but none seem to positively identify which lines to edit. I have modded my framework background color to white. I'm trying to achieve more of an S4 white theme, therefore I need to change the font from gray/white to black. I'm running rooted MD4 deodexed with MD4 optimized kernel. I've attached a screenshot so that you can see which font I'm talking about. Any help in the right direction would be greatly appreciated. Thanks very much!
do you know how to decompile/compile? If so you will have to decompile your system apps one by one and start working on changing all the lines that state "text". Its a bit more difficult than just calling out some lines for you to go in change because some system apps draw from each other. I believe the ones you have circled are in framework-res.apk. Its alot of hit and miss...its really perfect if your a flashaholic because you flash a lot trying to get what your looking for.
I know this really isnt what you're looking for but its really the way it is. It can be a real pain but really fun once you learn how to do this.
Thanks for your response. Yes I do. I've been decompiling and recompiling my framework-res for days now. Each time editing different lines as your suggesting. It's been very frustrating trying to find the right one. I will say one thing though, I can now decompile, edit, recompile and push and apk faster than I ever thought. I guess I'll keep trying until I figure it out. I love a good fight. Thanks again for your help!
nyfl2004 said:
Thanks for your response. Yes I do. I've been decompiling and recompiling my framework-res for days now. Each time editing different lines as your suggesting. It's been very frustrating trying to find the right one. I will say one thing though, I can now decompile, edit, recompile and push and apk faster than I ever thought. I guess I'll keep trying until I figure it out. I love a good fight. Thanks again for your help!
Click to expand...
Click to collapse
No problem man...I wish I could just tell u the exact lines...Most are in res/values/colors. I wish it was all just one line to edit...lol. I'm working on contacts now and man its ruff trying to get it the way you want it! I can tell you a good app to look for is called color edit...it will show you the color of the hex in ur values/colors file. Makes life way more easier.
Sent from my SPH-L710 using xda app-developers app
Very good idea. I never thought of actually having an app for identifying colors. I've been Googling each one as I go. Well, I'll let you know when I find the culprit.
For you primary and secondary text colors, try looking in framework in the res/colors folder. Should be labeled something like tw_primary_text_dark.xml and tw_secondary_text_dark.xml. Not sure if that's the exact names without looking, but it pretty close. You can also change a lot of your button text, spinner text in the same folder, just look at the different xmls. The text you have highlighted should be the first one I mentioned up above. Tw_primary_text_dark. Hope that helps you out some.
There are still other colors you may want to edit the res/values/colors and res/values/styles but the main text your looking for is in res/colors.
Sent from my HTCONE using xda premium
Hi Dazed. You're the man. I see 2 files, 1 is "primary_text_dark" and the other is "tw_primary_text_holo_dark". To be clear, I think I'm supposed to open the XML and edit within. In the one marked "tw_primary_text_holo_dark", I see the last line reads: <item android:color="#ffd7d7d7" />. That color code points to light gray. Should I change that to #ff000000 for black?
Mission accomplished. You were right on Dazed. I went into framework-res/res/colors, navigated to "tw_primary_text_holo_dark, opened the XML for editing, the last line read: <item android:color="#ffd7d7d7" />. I simply changed the color to #ff000000 and voilá, I appreciate your help. I should have posted her e alot sooner! Big thanks
Glad you found it. Feel free to ask all the questions you need man, somebody definitely help you out. If you don't find answers also feel free to send me a message and I'll try my best to help along the way.
Sent from my HTCONE using xda premium
dazednconfused said:
Glad you found it. Feel free to ask all the questions you need man, somebody definitely help you out. If you don't find answers also feel free to send me a message and I'll try my best to help along the way.
Sent from my HTCONE using xda premium
Click to expand...
Click to collapse
Dazed you are the man... @nyfl2004 glad there was a grand Master to step in and point you in the right direction!:beer:
Sent from my SPH-L710 using xda app-developers app
Thanks @bigpappags3. Thanks to you guys, I've taken another step in my Android education. I'm sure I'll hit another wall soon enough. Thanks again....................
nyfl2004 said:
Thanks @bigpappags3. Thanks to you guys, I've taken another step in my Android education. I'm sure I'll hit another wall soon enough. Thanks again....................
Click to expand...
Click to collapse
We have a crew on Hangouts that have some very Knowledgable fellas to be able to talk to too. @dazednconfused happens to be one of the very wise ones there...if you wanna join you can hit me or Dazed up on pm and we'll shoot you an invite.
bigpappags3 said:
We have a crew on Hangouts that have some very Knowledgable fellas to be able to talk to too. @dazednconfused happens to be one of the very wise ones there...if you wanna join you can hit me or Dazed up on pm and we'll shoot you an invite.
Click to expand...
Click to collapse
Thanks @bigpappags3. I appreciate the gesture. It's very big of you guys to take the time and share your knowledge with others. I'm just a noob whose eager to learn. I'll take you up on your offer! Be well
nyfl2004 said:
Thanks @bigpappags3. I appreciate the gesture. It's very big of you guys to take the time and share your knowledge with others. I'm just a noob whose eager to learn. I'll take you up on your offer! Be well
Click to expand...
Click to collapse
No worries. ...I'm still a noob too!
Sent from my SPH-L710 using xda app-developers app
I still ask questions all the time. That's what's great about this community. If your having trouble trying to figure out something, there is usually somebody willing to help you out. Just continue to share what you know and keep the cycle going.
Sent from my HTCONE using xda premium
Hi Dazed. I'm back to pick your brains again. My latest project has been to try and make my Secphone to look like the white GS4 theme. I am using WinterLove's modded apk form the Note II port. I can't seem to figure out how to change the black "in-call background" to gray. Also, can you please point me in the right direction as far as the "in-call button text. I want to change that from white/gray to black. I've attached 2 screenshots. Please respond at your convenience. Many thanks
nyfl2004 said:
Hi Dazed. I'm back to pick your brains again. My latest project has been to try and make my Secphone to look like the white GS4 theme. I am using WinterLove's modded apk form the Note II port. I can't seem to figure out how to change the black "in-call background" to gray. Also, can you please point me in the right direction as far as the "in-call button text. I want to change that from white/gray to black. I've attached 2 screenshots. Please respond at your convenience. Many thanks
Click to expand...
Click to collapse
Try looking in SecPhone.apk in the res/colors folder. I will be working today, so I can't take a look, but I'm pretty sure you have some xml's in there too change the button text and in call button text. I should be off on Sunday, if you have any trouble finding it, I'll take a look at it then.
EDIT: try SecPhone/res/colors/incall_button_text.xml for the button text.
I'm not completely sure on the black background right off, check in SecPhone/res/values/colors and see if its maybe one of the incall_call_banner_backgrounds maybe.
Sent from my HTCONE using Tapatalk
Hi Dazed,
Thanks for getting back to me. I know you're busy. I figured that's where they were, but I think it's above my pay-grade now. I can easily change any .png's but I can't seem to edit any XML's. I can decompile SecSettings and edit the XML's, but when I try to re-compile, I get all sorts of errors. I'm using MultiTool v1.0.11. The only things I have left to change are the in-call background and the in-call button text. Thanks for all your help brother!!
nyfl2004 said:
Hi Dazed,
Thanks for getting back to me. I know you're busy. I figured that's where they were, but I think it's above my pay-grade now. I can easily change any .png's but I can't seem to edit any XML's. I can decompile SecSettings and edit the XML's, but when I try to re-compile, I get all sorts of errors. I'm using MultiTool v1.0.11. The only things I have left to change are the in-call background and the in-call button text. Thanks for all your help brother!!
Click to expand...
Click to collapse
Can u attach a screenie of the errors u are getting? Also have you edited any .9pngs? Messing just one up can give you a hundred errors. I use apktool but maybe I can throw some of my limited knowledge ur way
Sent from my SPH-L710 using xda app-developers app
Hey Bigpappags3. Thanks brother. Yes, I have actually copied some .9pngs into some of the drawable folders. If it's Ok, I'll send some screenies over to you tomorrow. I'm sure that even your limited knowledge is plenty good enough! I've been at this all day and the Mrs is giving me the look. Thanks again for for all your help!! Good night