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 ...

+ Reply to Thread
Page 2 of 10 FirstFirst 1 2 3 4 ... LastLast
Results 11 to 20 of 98

Thread: Any way to make battery icon image update every 10% rather than every 20%?

  1. Developer
    chevycam94's Avatar
    Member #
    67883
    Join Date
    May 2010
    Location
    Central Ohio
    Posts
    687
    Liked
    45 times
    Twitter
    chevycam94
    Phone
    Droid 1 and Droid 3
    DroidForums.net Developer
    #11
    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!
  2. Droid Ninja
    microsnook's Avatar
    Member #
    35836
    Join Date
    Feb 2010
    Posts
    1,292
    Phone
    Enter Current Phone Model Here
    #12
    This would be pretty cool to learn!
  3. Droid
    iamlost87's Avatar
    Member #
    55567
    Join Date
    Apr 2010
    Posts
    56
    Phone
    Moto Droid
    #13
    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)
  4. Droid Ninja
    microsnook's Avatar
    Member #
    35836
    Join Date
    Feb 2010
    Posts
    1,292
    Phone
    Enter Current Phone Model Here
    #14
    Quote Originally Posted by iamlost87 View Post
    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
  5. Droid
    iamlost87's Avatar
    Member #
    55567
    Join Date
    Apr 2010
    Posts
    56
    Phone
    Moto Droid
    #15
    Quote Originally Posted by microsnook View Post
    Quote Originally Posted by iamlost87 View Post
    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)
  6. Droid
    iamlost87's Avatar
    Member #
    55567
    Join Date
    Apr 2010
    Posts
    56
    Phone
    Moto Droid
    #16
    Quote Originally Posted by iamlost87 View Post
    Quote Originally Posted by microsnook View Post
    Quote Originally Posted by iamlost87 View Post
    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)
  7. Droid Ninja
    microsnook's Avatar
    Member #
    35836
    Join Date
    Feb 2010
    Posts
    1,292
    Phone
    Enter Current Phone Model Here
    #17
    Quote Originally Posted by iamlost87 View Post
    Quote Originally Posted by iamlost87 View Post
    Quote Originally Posted by microsnook View Post

    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 : )
  8. Droid Ninja
    microsnook's Avatar
    Member #
    35836
    Join Date
    Feb 2010
    Posts
    1,292
    Phone
    Enter Current Phone Model Here
    #18
    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
  9. Droid Ninja
    microsnook's Avatar
    Member #
    35836
    Join Date
    Feb 2010
    Posts
    1,292
    Phone
    Enter Current Phone Model Here
    #19
    Anyone want to help out on this?
  10. Senior Droid
    Vanilla Tarantino's Avatar
    Member #
    3682
    Join Date
    Nov 2009
    Posts
    135
    Phone
    Droid
    #20
    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!

Sponsors

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Similar Threads

  1. [MM Theme] Spiderman Battery Icon / The Flash Charging Icon
    By oMenaceTigero in forum Droid Themes
    Replies: 8
    Last Post: 12-06-2010, 10:42 PM
  2. how can i hit one icon on main screen and make a call
    By malpert in forum New Member Introductions & Site Assistance
    Replies: 7
    Last Post: 07-18-2010, 04:13 PM
  3. how to make an icon with bettercut?
    By peterjariel in forum Droid Applications
    Replies: 13
    Last Post: 05-12-2010, 10:12 PM
  4. icon/image question
    By liquidzoo in forum Droid Hacks
    Replies: 2
    Last Post: 02-08-2010, 01:37 PM
  5. how to make custom icon?? help please
    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