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; iamlost87 can you do this for sapphire too? I would appreciate that. Or teach me how to edit the xml haha...

+ Reply to Thread
Page 3 of 10 FirstFirst 1 2 3 4 5 ... LastLast
Results 21 to 30 of 98

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

  1. Droid Ninja
    microsnook's Avatar
    Member #
    35836
    Join Date
    Feb 2010
    Posts
    1,292
    Phone
    Enter Current Phone Model Here
    #21
    iamlost87 can you do this for sapphire too?

    I would appreciate that. Or teach me how to edit the xml haha
  2. Master Droid
    kevdog's Avatar
    Member #
    4295
    Join Date
    Nov 2009
    Posts
    722
    Phone
    moto droid
    #22
    If I get some time with this I'll take a look at it. Using apktool is great (this is the way to do it), but sometimes installing stuff back into framework and the like breaks signatures. What specifically are the icons you want to use?
  3. Droid Ninja
    microsnook's Avatar
    Member #
    35836
    Join Date
    Feb 2010
    Posts
    1,292
    Phone
    Enter Current Phone Model Here
    #23
    Quote Originally Posted by kevdog View Post
    If I get some time with this I'll take a look at it. Using apktool is great (this is the way to do it), but sometimes installing stuff back into framework and the like breaks signatures. What specifically are the icons you want to use?
    So I need to download apk tool and then do what?

    I have the images, do you want me to upload them?

    Thanks
  4. Master Droid
    bhughesiii's Avatar
    Member #
    47927
    Join Date
    Mar 2010
    Posts
    430
    Phone
    Motorola Droid
    #24
    Hmm interesting topic. I have noticed that my battery percentages go in 10% increments.
  5. Master Droid
    kevdog's Avatar
    Member #
    4295
    Join Date
    Nov 2009
    Posts
    722
    Phone
    moto droid
    #25
    There is an apktool forum on xda. - [UTIL][14.06.10] Apktool v1.3.1 - a tool for reengineering apk files - xda-developers

    I also find this tool useful: apk-manager Apk Manager 4.8 - Makes Modifying Ur Apk A Breeze (Windows/Linux) - xda-developers

    The tools not that hard to use, but do some reading on it. Once you recompile the apk however, that is were I get off the bus. I then just go into the compiled apk, and simply then just take the individually modified xml files out and add them back into the original apk file using winrar/winzip (similar to when do framework-mods where dropping images into the hdpi-drawable file). I then push back the modified original apk either as an update.zip file, or use adb and reboot.
    Last edited by kevdog; 08-12-2010 at 08:33 AM.
  6. RS Admin
    jstafford1's Avatar
    Member #
    4777
    Join Date
    Nov 2009
    Location
    Hebron, Oh.
    Posts
    7,560
    Liked
    61 times
    Twitter
    jstaff79
    Phone
    D-R-O-I-D 3
    Premium Member
    #26
    Quote Originally Posted by bhughesiii View Post
    Hmm interesting topic. I have noticed that my battery percentages go in 10% increments.
    These guys aren't refering to the number %. They want the icon to reflect the 10% changes as well. Right now the icon only changes at 20% increments.

    $.02, spend it as you please.
  7. Droid Ninja
    microsnook's Avatar
    Member #
    35836
    Join Date
    Feb 2010
    Posts
    1,292
    Phone
    Enter Current Phone Model Here
    #27
    Quote Originally Posted by kevdog View Post
    There is an apktool forum on xda. - [UTIL][14.06.10] Apktool v1.3.1 - a tool for reengineering apk files - xda-developers

    I also find this tool useful: apk-manager Apk Manager 4.8 - Makes Modifying Ur Apk A Breeze (Windows/Linux) - xda-developers

    The tools not that hard to use, but do some reading on it. Once you recompile the apk however, that is were I get off the bus. I then just go into the compiled apk, and simply then just take the individually modified xml files out and add them back into the original apk file using winrar/winzip (similar to when do framework-mods where dropping images into the hdpi-drawable file). I then push back the modified original apk either as an update.zip file, or use adb and reboot.
    Ok, gotcha kevdog.
    Im not sure how to do the xml editing though?
  8. Master Droid
    kevdog's Avatar
    Member #
    4295
    Join Date
    Nov 2009
    Posts
    722
    Phone
    moto droid
    #28
    xml can be edited two ways:

    1) Directly edit the binary file with a hex editor such as frhed or hxd -- can do minor edits this way -- quick, fast

    2)Decompile the binary back to source, edit the source, and then compile back to binary. Can do much more complex edits, but process more involved. This would be with apk-manager or simply editing AOSP from source and compiling.
  9. Droid Ninja
    microsnook's Avatar
    Member #
    35836
    Join Date
    Feb 2010
    Posts
    1,292
    Phone
    Enter Current Phone Model Here
    #29
    Quote Originally Posted by kevdog View Post
    xml can be edited two ways:

    1) Directly edit the binary file with a hex editor such as frhed or hxd -- can do minor edits this way -- quick, fast

    2)Decompile the binary back to source, edit the source, and then compile back to binary. Can do much more complex edits, but process more involved. This would be with apk-manager or simply editing AOSP from source and compiling.
    I dont know how to edit it. And I cant figure out how to work apk manager.

    This stuff is hard
  10. Master Droid
    bhughesiii's Avatar
    Member #
    47927
    Join Date
    Mar 2010
    Posts
    430
    Phone
    Motorola Droid
    #30
    Quote Originally Posted by jstafford1 View Post
    Quote Originally Posted by bhughesiii View Post
    Hmm interesting topic. I have noticed that my battery percentages go in 10% increments.
    These guys aren't refering to the number %. They want the icon to reflect the 10% changes as well. Right now the icon only changes at 20% increments.

    $.02, spend it as you please.

    Ahhh my bad, didn't understand fully.

    Sent from my Droid

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