The popular (once upon a time) battery widget for Android, now as open source!
This is the source code as I found it in one of my old subversion repositories. The code is provided as-is (as-found?
Feel free to do whatever you want with this pile of uglyness.
There are two projects for BattStatt, the free and the pro version. Although both are free on the market, the pro was once a paid app. There's also a "lib" project, which holds some common ui stuff, like preferences they both use and such. The lib project is even uglier and has a bunch of unused half-assed stuff.
- Start with importing the common project to you IDE.
- Then the BattStattFree and BattStattPro projects.
- Add the common project as an android lib to the two imported projects.
- Stuff should build.
Enjoy this piece of outdated crappy code