Guest londonlad Posted April 4, 2004 Report Posted April 4, 2004 how do i go about making a battery plugin for a homescreen that shows the battery left in percentage? how do you access battery level data?
Guest ferret Posted April 4, 2004 Report Posted April 4, 2004 There a plugin out already called Smart Batt (see here ) I've never used it so no feedback here, but if you develop a freeware one, let me know :wink:
Guest londonlad Posted April 4, 2004 Report Posted April 4, 2004 yeah i know that one, but i dont like it much, all i want is a percentage that i can add to a homescreen, no bars, no temperature no etc
Guest thedeva Posted April 4, 2004 Report Posted April 4, 2004 G'day londonlad U need to get your hands on a plugin called LCD which has the code in you need. go here to view it. http://www.coolsmartphone.com/index.php?op...er&filecatid=76 Attached is an example using the battery meter. Pretty cool ha! Devalooney[1].gif
Guest londonlad Posted April 5, 2004 Report Posted April 5, 2004 :D thank you mate! now i can have a quick glance at the screen and voila! battery percentage! now how to use this on my own homescreen? ;) :lol: :P
Guest thedeva Posted April 5, 2004 Report Posted April 5, 2004 No worries. Yeah, I cant get it to work on my homescreen but I haven't given up. Let me know how u go as I'm strugglin a bit. Deva
Guest londonlad Posted April 6, 2004 Report Posted April 6, 2004 you cant get the lcd plugin working on a ready made homescreen or the how to code it into your own homescreen?
Guest Richie M Posted April 6, 2004 Report Posted April 6, 2004 same as any other plug-in you add the relevant code to your home xml. Its a long time since i looked at or used the lcd plug-in but there used to be an example that came with it which you can look at and work out which code you need :D
Guest londonlad Posted April 6, 2004 Report Posted April 6, 2004 the thing is that the lcd plugin shows the battery percentage in lcd (dots) rather than using numbers. i've got it working as a lcd display but i want it in numbers
Guest Richie M Posted April 8, 2004 Report Posted April 8, 2004 :D thats why its called LCD Plugin :roll: if you want to do it another way, you would have to write your own plugin i'm afraid :|
Guest londonlad Posted April 8, 2004 Report Posted April 8, 2004 but the plugin has to get the percentage and then turn it into lcd, so im just looking to get the percentage, but my lcd plugin file is empty. where are the plugin files stored?
Guest Richie M Posted April 8, 2004 Report Posted April 8, 2004 Not quite sure what you mean dude :? Plugins are .dll's, if i rember correctly the LCD one uses an .ini file for formating (i havent looked at it for about a year tho :D) As for turning it from a percentage to LCD format that will be done internally in the .dll's code, its just the way it works!
Guest MPXtricky Posted April 10, 2004 Report Posted April 10, 2004 ...I read somewhere that the LCD plugin is a battery killer so although you will have a nice display of remaining battery life, your battery will need charging more often. This is because all software that shows the charge of a battery *drains* some of that same battery when obtaining the results.
Guest nedge2k Posted April 16, 2004 Report Posted April 16, 2004 Is there a was to pull apart the dll and have a look at the code?
Guest MPXtricky Posted April 16, 2004 Report Posted April 16, 2004 Is there a was to pull apart the dll and have a look at the code?... if it was an executable then yes, technically, you could 'dis-assemble' the .EXE I'm not sure about DLL's... never even thought about taking them apart. Maybe this is a daft question but if you have a freely available DLL that does what you want, why take it apart anyway?
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now