Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
rznag
Old
(Last edited by rznag; 8th February 2011 at 07:29 PM.)
#1  
Member - OP
Thanks Meter 15
Posts: 42
Join Date: Dec 2010

 
DONATE TO ME
Default DefyBatt & DefyLivepaper - Battery Widget & Livewallpaper for Defy scaling in 1% Step

I wrote a Battery Widget for the Defy scaling in 1% Steps.
It`s quite simple at the moment, but was just for me.
So, if someone wants to have it, here`s the download:
http://db.tt/v8WROJt



Version 1.1:
-More Styles (Numbers, Numbers + %, Text)
-More Colours

Version 1.2:
-Choose Size


Screenshot (Widget on left side middle): 58%






If you like to get automatic updates or to donate something to me, i have a version for 0,50€ in the Market.
https://market.android.com/details?i...rznag.deffbatt
But will also update this file here, if i have a new version available.


Now also as livewallpaper:
URL=http://www.pic-upload.de/view-8817036/snap20110208_174901.png.html][/URL]





Link to apk:
Dropbox - DefyLiveWallpaper.apk - Online backup, file sync, and sharing made easy.

or as qr:

marketlink: https://market.android.com/details?i...rznag.liveDefy
The Following 10 Users Say Thank You to rznag For This Useful Post: [ Click to Expand ]
 
Homesicktexan
Old
#2  
Member
Thanks Meter 3
Posts: 48
Join Date: Oct 2009
I'll give it a shot. Any special way to install it?
 
rznag
Old
#3  
Member - OP
Thanks Meter 15
Posts: 42
Join Date: Dec 2010

 
DONATE TO ME
No, just download. If Dropbox cuts the .apk you`ll have to add it manually.
Happened to some people on german forum. Install it like every other app.
Add as widget to homescreen.
 
Perilla_
Old
#4  
Perilla_'s Avatar
Senior Member
Thanks Meter 77
Posts: 481
Join Date: Mar 2009
Location: Cádiz
Can you post a screenshot?

Thanks you.
 
Homesicktexan
Old
#5  
Member
Thanks Meter 3
Posts: 48
Join Date: Oct 2009
It did drop the .apk extension. What a great widget. Thanks for making it small and unobtrusive!
 
Homesicktexan
Old
#6  
Member
Thanks Meter 3
Posts: 48
Join Date: Oct 2009
Quote:
Originally Posted by Perilla_ View Post
Can you post a screenshot?

Thanks you.
It's just a tiny number with a % symbol. You can choose black or white text. It's smaller than the numbers in the status bar but not by much.
 
zorgblaubaer
Old
#7  
Junior Member
Thanks Meter 25
Posts: 18
Join Date: Aug 2007
I did something similar, but as a notification instead of a widget. If anyone is interested: http://dl.dropbox.com/u/1464041/MotoCharge.apk

The images are taken from this thread: http://forum.xda-developers.com/showthread.php?t=724778
The Following User Says Thank You to zorgblaubaer For This Useful Post: [ Click to Expand ]
 
chaihg
Old
#8  
Senior Member
Thanks Meter 50
Posts: 480
Join Date: Nov 2010
Guys you built such wonderful apps and never oublished it. Both of them are beautiful. Thanks again

Sent from my ME525 using XDA App
 
martinml
Old
(Last edited by martinml; 27th January 2011 at 02:40 AM.)
#9  
Member
Thanks Meter 23
Posts: 35
Join Date: Sep 2010
How does it work? I mean, is the % real? Or does it estimate it, like Battery Left?

Edit: okay, I'll answer myself, you're using /sys/class/power_supply/battery/charge_counter. I didn't know about its existence! Great work! I wonder if we could modify the original Motorola APK to read that instead of /sys/class/power_supply/battery/capacity, so we don't need any extra software, hmm...

Edit 2: I was curious and searched. There seem to be two places where "capacity" is used. They are in /xbin/ssmgrd and /bin/charge_only_mode, both binaries. Would it be possible to hex-edit the "capacity" string to "charge_counter"?

Edit 3: whoops, somebody already thought of this. I'll take the discussion there so I don't hijack your thread
 
Perilla_
Old
#10  
Perilla_'s Avatar
Senior Member
Thanks Meter 77
Posts: 481
Join Date: Mar 2009
Location: Cádiz
Quote:
Originally Posted by zorgblaubaer View Post
I did something similar, but as a notification instead of a widget. If anyone is interested: http://dl.dropbox.com/u/1464041/MotoCharge.apk

The images are taken from this thread: http://forum.xda-developers.com/showthread.php?t=724778
Don't autoupdate, right? I loaded at 24%, looked the file and was 24. Some tests later, I looked the file again and was 22. It still at 24.

Thanks for it, it's a first step

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Open Source CPU Info App for Windows

So you’re playing with your shiny new Windows 8 tablet PC, when one of your like-minded geeky … more

Guide to Using Adobe Air on Android

When writing an app with performance in mind, you most likely want to write it native code using the … more