
When you program for Android you find yourself doing some of the same tasks repeatedly. As a programmer you know what I mean; how many times have you downloaded images from the Internet dynamically for use in an application? How about extended a List Activity to show a list of items? And if I had a dollar for everytime I had to parse an xml file…
Now there’s an easy way to do some of the most common tasks in Android (and do them correctly!). Recently I stumbled upon Droid-fu, a library for some of Android’s most common task. Just add the .jar file to your Android project and you’re ready to impement the snippets provided to you by Droid-fu.
What sort of things can you do with Droid-fu? Glad you asked. Currently the library has classes for:
- Easy implementation of the dreaded AsyncTask
- Context implementation including simple handles for resuming, restarting, and gracefully pausing your actvity
- Dialog helpers
- Management (including caching!) of web images
- Easy use of the Gallery View
- … much more. For a complete overview check the Droid-fu API
I will be using this in some of my upcoming projects so expect to hear more about this library on this blog. For now, check out the developer’s website and read up on what he’s up to.
