Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,812,530 Members 42,116 Now Online
XDA Developers Android and Mobile Development Forum

[APP] 27-OCT-2010 Circular battery Indicator with % (No root required)

Tip us?
 
irkan
Old
(Last edited by irkan; 5th July 2011 at 10:08 AM.) Reason: New version uploaded 27-oct-2010
#1  
irkan's Avatar
Senior Member - OP
Thanks Meter 57
Posts: 740
Join Date: Nov 2009
Location: Muscat

 
DONATE TO ME
Cool [APP] 27-OCT-2010 Circular battery Indicator with % (No root required)

Hi

*For the latest update, check the bottom of the post, ENJOY*

Desire
yesterday i wanted to get a battery status bar for my desire just like the picture below



found a thread here that explain how to get it

Super Circle Battery with % |Version A-I & Z (Custom)| Desire 2.2 ROM

Problem
However i found out that i am un-able to use it because the requirments for installing (what i have been told in the thread) is that your device has to be

1. Rooted
2. Have different ROM than the stock ROM


personally i find it very inconvenient to root & flash a new ROM just to get this battery circular percentage (thats all i want, I am pretty satisfied with the stock FROYO 2.2)

Solution
I have modified an APK, used an existing programming logic (Battery Indicator - Open Source Project) but with different presentation.

the APK can be installed to your Desire (and probably other android phones without any problems) and it will show you what you want in the notification bar, just like in the screenshot below



Advantages
- You will not need to root your device (this APP will not change any system files in the framework-res.apk)
- You will not need to install different ROM
- Small size APK, you can just download, install and enjoy

Disclaimer
I have tested this APP on my Desire with stock FROYO 2.2 without any problems I have not tested it on any other device.
The App does not alter any system files, worst case scenario you will get FC. but just to be on the safe side, install on your own risk

wold appreciate any feedbacks

Credits
- Battery Indicator from Darshan Computing (Freeware & Open Source)
- Graphics provided by Fightspit (Thank you!)


-------------------------------------------------------------------------------------

To answer some of the questions
- the Circular Battery Indicator does not use a lot of battery resources, the device broadcasts a message when the battery status changes, the app catches this broadcast and update itself to show the right percentage, it is as simple as that, so it is extremely light weight on the CPU.

-It is impossible to remove/hide the original battery icon on the status bar without root privileges, and if you have root you dont need this app, chances are you already found away to alter the original/stock battery icon to match your desire (check first post for the link on how to change stock battery icon if you have root).

-I am considering uploading this to the market, to reach a bigger market and making the updating process easier, dont have lots of time to do this now, but i am surly considering it

-for all the people who are interested in the control switch more than the app itself Lol ... its called "SwitchPro" widget

Enjoy
Irkan

UPDATE 27-OCT-2010
A version for the Desire's twin brother, Nexus One (and all other phones that has white status bar) check the attachments for downloads



UPDATE 17-OCT-2010
Fixed some small FC issue reported by a friend


UPDATE 16-OCT-2010
Alright a new version, with gradient color fill, less complicated code, and new icon





if you liked the app, hit the "Thanks" button
The Following 33 Users Say Thank You to irkan For This Useful Post: [ Click to Expand ]
 
taiseer999
Old
#2  
taiseer999's Avatar
Senior Member
Thanks Meter 131
Posts: 1,693
Join Date: Jan 2005
Great stuff irkan, where is the download link though?
 
irkan
Old
#3  
irkan's Avatar
Senior Member - OP
Thanks Meter 57
Posts: 740
Join Date: Nov 2009
Location: Muscat

 
DONATE TO ME
Quote:
Originally Posted by taiseer999 View Post
Great stuff irkan, where is the download link though?
darn it, was sleepy forgot to attach, Lol .. thanx for the heads up
 
mik101
Old
#4  
mik101's Avatar
Senior Member
Thanks Meter 66
Posts: 462
Join Date: Jul 2010
I like this idea for non-rooted users. Nice work!
Anyone have any ideas for hiding the original one? (without needing root preferably since obviously with root you could install this as a morph/flash).
 
irkan
Old
#5  
irkan's Avatar
Senior Member - OP
Thanks Meter 57
Posts: 740
Join Date: Nov 2009
Location: Muscat

 
DONATE TO ME
Quote:
Originally Posted by mik101 View Post
I like this idea for non-rooted users. Nice work!
Anyone have any ideas for hiding the original one? (without needing root preferably since obviously with root you could install this as a morph/flash).
that could be tricky, since altering any default component in the bar requires system privilege (i.e. root)
 
orb3000
Old
#6  
orb3000's Avatar
XDA Portal Team / Senior Moderator
Thanks Meter 3,036
Posts: 22,283
Join Date: Feb 2007
Location: T r a v e l i n g Likes: HTC & XDA Dislikes: apples...

 
DONATE TO ME
Thanks for sharing!
orb


HTC Butterfly 2 - HTC One M8 - HTC Universal

XDA is about developing and is for developers. Any user that recognizes that will gain the most benefit from this site


 
This is and always will be a site for developers, pure and simple. Without them we are nothing, without them there would be no reason for XDA Developers to exist; we should never ever forget that. Without them this place would not be called XDA-Developers but something else, e.g Mobile Phone User Support Services For Ungrateful Nerds.

Previous devices: HTC: Treo 650 - Excalibur - Diamond - Diamond 2 - Maple - HD2 - Rhodium - Desire Z - Desire HD - Vivid - Sensation - One V - One X - Titan II - One X+ - DNA - Butterfly
 
joebob296
Old
#7  
Senior Member
Thanks Meter 21
Posts: 235
Join Date: Aug 2010
Quote:
Originally Posted by irkan View Post
that could be tricky, since altering any default component in the bar requires system privilege (i.e. root)
How can I hide the origional one and move the circle in its place i do have root but do not know how to hide the origional and move the circle one. Im using DX
 
euqiddis
Old
#8  
Senior Member
Thanks Meter 41
Posts: 176
Join Date: Sep 2010
Location: London
App not as advertised, its Battery Indicator http://www.appbrain.com/app/battery-...tteryIndicator
 
irkan
Old
(Last edited by irkan; 16th October 2010 at 09:22 PM.)
#9  
irkan's Avatar
Senior Member - OP
Thanks Meter 57
Posts: 740
Join Date: Nov 2009
Location: Muscat

 
DONATE TO ME
Quote:
Originally Posted by orb3000 View Post
Thanks for sharing!
thanx for passing by

Quote:
Originally Posted by joebob296 View Post
How can I hide the origional one and move the circle in its place i do have root but do not know how to hide the origional and move the circle one. Im using DX
check http://forum.xda-developers.com/showthread.php?t=724778

Quote:
Originally Posted by euqiddis View Post
App not as advertised, its Battery Indicator http://www.appbrain.com/app/battery-...tteryIndicator
read the whole post I used Battery Indicator (Open Source Project) as a base and gave the owner credits (Darshan Computing)
The Following User Says Thank You to irkan For This Useful Post: [ Click to Expand ]
 
euqiddis
Old
#10  
Senior Member
Thanks Meter 41
Posts: 176
Join Date: Sep 2010
Location: London
My bad, the first link that i downloaded was definately Battry indicator, but i've just tried it now and got it working on my Wildfire. Thanks again.

Tags
battery, circular, percentage, stock, without root
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes