Any way to make battery icon image update every 10% rather than every 20%?
This is a discussion on Any way to make battery icon image update every 10% rather than every 20%? within the cvpcs forums, part of the Droid Forums Dev Archives category; Im going to search through the XMLs and see if I can find the file we are looking for. Its one addition I want to ...
-
Im going to search through the XMLs and see if I can find the file we are looking for. Its one addition I want to add to my custom ROM. <-- Soon-to-be DEV! (I hope)
Motorola Droid 1
Steel Droid v10.0 RC4, CM Gingerbread 2.3.7!
Undetermined kernel
ClockworkMod Recovery 3.1.0.2
32GB MicroSD (class 4)
Motorola Droid 3
Custom/Rooted 2.3.4 (Steel Droid v4.5)
Free Tether Enabled (hacked) baseband N_03.18.29P
Stock kernel (of course)
Hashcodes Safestrap 1.08
14GB MicroSD (class 4)
16GB (internal)
Steel Droid Official Website
If you like my work, feel free to donate!
-
This would be pretty cool to learn!
-
The "correct folder" is the easy part... now to find which xml to edit. Any extra tidbits sniffles? I'd like to know which file and I'd love to get this up and running. I'd also be willing to create an update.zip and push this out there for others who would be interested as well. Just need to know which xml we're dealing with.
Moto
2.3!
GPA13
Pete's LV 600mhz Kernal
Custom Compilation Framework(over 500 image changes/edits)
-

Originally Posted by
iamlost87
The "correct folder" is the easy part... now to find which xml to edit. Any extra tidbits sniffles? I'd like to know which file and I'd love to get this up and running. I'd also be willing to create an update.zip and push this out there for others who would be interested as well. Just need to know which xml we're dealing with.
I hope this gets up and running, it would definitely be nice.
Help us out devs! lol
-

Originally Posted by
microsnook

Originally Posted by
iamlost87
The "correct folder" is the easy part... now to find which xml to edit. Any extra tidbits sniffles? I'd like to know which file and I'd love to get this up and running. I'd also be willing to create an update.zip and push this out there for others who would be interested as well. Just need to know which xml we're dealing with.
I hope this gets up and running, it would definitely be nice.
Help us out devs! lol
I found it.
framework-res.apk>res>drawable>stat_sys_battery.xml
decompile using apktool, re-write to use new images, compile it back up, and make it an update. If no one else wants to, I will do this tomorrow after work for a stock theme. From there, everyone can just edit the images.
For now, I have to get some sleep before work.
Moto
2.3!
GPA13
Pete's LV 600mhz Kernal
Custom Compilation Framework(over 500 image changes/edits)
-

Originally Posted by
iamlost87

Originally Posted by
microsnook

Originally Posted by
iamlost87
The "correct folder" is the easy part... now to find which xml to edit. Any extra tidbits sniffles? I'd like to know which file and I'd love to get this up and running. I'd also be willing to create an update.zip and push this out there for others who would be interested as well. Just need to know which xml we're dealing with.
I hope this gets up and running, it would definitely be nice.
Help us out devs! lol
I found it.
framework-res.apk>res>drawable>stat_sys_battery.xml
decompile using apktool, re-write to use new images, compile it back up, and make it an update. If no one else wants to, I will do this tomorrow after work for a stock theme. From there, everyone can just edit the images.
For now, I have to get some sleep before work.
I did the work. I didnt edit the icons for now, so whoever uses this, feel free to open it up in 7z and edit the pictures before you flash it.
Also, I'm on BB right now, and I didn't bother flashing over to Sapphire to test this. I'm pretty sure it will work, but as usual, make a back up before you flash.
http://www.megaupload.com/?d=WN0VSGFM
Last edited by iamlost87; 08-11-2010 at 12:27 AM.
Moto
2.3!
GPA13
Pete's LV 600mhz Kernal
Custom Compilation Framework(over 500 image changes/edits)
-

Originally Posted by
iamlost87

Originally Posted by
iamlost87

Originally Posted by
microsnook
I hope this gets up and running, it would definitely be nice.
Help us out devs! lol
I found it.
framework-res.apk>res>drawable>stat_sys_battery.xml
decompile using apktool, re-write to use new images, compile it back up, and make it an update. If no one else wants to, I will do this tomorrow after work for a stock theme. From there, everyone can just edit the images.
For now, I have to get some sleep before work.
I did the work. I didnt edit the icons for now, so whoever uses this, feel free to open it up in 7z and edit the pictures before you flash it.
Also, I'm on BB right now, and I didn't bother flashing over to Sapphire to test this. I'm pretty sure it will work, but as usual, make a back up before you flash.
MEGAUPLOAD - The leading online storage and file delivery service
Awesome!
You need to teach me how to edit that xml!
Ill download it and take a look lol
Thanks : )
-
I cant get it to work.
I pulled the xml file from the file you posted, and put it in my drawable folder, and then I went ahead and made all the battery images, pushed the framework, and no battery icons are being displayed.
Not sure whats wrong
-
Anyone want to help out on this?
-
Glad to see something coming of this, but I'm on vacation right now so I'm pretty useless. Thanks to all those who are looking into it though!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Similar Threads
-
By oMenaceTigero in forum Droid Themes
Replies: 8
Last Post: 12-06-2010, 10:42 PM
-
By malpert in forum New Member Introductions & Site Assistance
Replies: 7
Last Post: 07-18-2010, 04:13 PM
-
By peterjariel in forum Droid Applications
Replies: 13
Last Post: 05-12-2010, 10:12 PM
-
By liquidzoo in forum Droid Hacks
Replies: 2
Last Post: 02-08-2010, 01:37 PM
-
By GOON in forum Droid Themes
Replies: 1
Last Post: 01-26-2010, 02:33 AM
Search tags for this page
@drawable/stat sys battery 10 android:maxlevel= ??? 10
,
a10 frameworl-res.apk
,
android battery icon inaccurate
,
android battery icon percentage png
,
android battery icon png
,
android battery icon theme xml file
,
android battery xml
,
android xml png hex battery icon
,
battery icon droid update
,
battery of droid xml
,
brut.directory.pathnotexist: apktool.yml
,
edit stat sys battery.xml
,
hdpi+battery icon
,
link2sd jar
,
public.xml file android
,
stat battery png
,
stat sys battery 10
,
stat sys battery charge.xml
,
stat sys battery.xml
,
theme guide add 1% battery mod to decompile framework.apk sa
Click on a term to search our site for related topics.
Tags for this Thread