Download Batmon.tgz (38kB)
The Android app "uploads" data to the server by doing HTTP requests. The tarball includes both the Java for the Android app, and the Perl CGI which does the graphing. I'm making the source available with no warranty of any kind, feel free to pick it apart and do with it as you like. If anything, it should be a good example of how to create persistent Android processes that don't chew the battery, as it deals with alarms and cpu locking.
If you want to read more stuff like this, follow my blog or check out the rest of my articles: All, Android related, Perl related. If you found this article helpful, interesting or entertaining, and wish to donate:Donate using Paypal, Bitcoin or Flattr:
If you need a freelancer or some consulting, you'll find me at Cardwell IT Ltd.