Friday, October 4, 2013

Killer Library projects for Android

Here is a list of some of my favorite libraries when it comes to developing for Android. Do give them a try to reduce the amount of code and focus on your app's core functionality.


This one deserves to be in the top of the list. Actionbar was introduced in API-11 of the Android SDK and the support library by Google does not provide a proper backport.This library by Jake Warton is now a part of almost every new Android application developed and is undoubtedly on the top of my list.Works seamlessly with newer views such as NavigationDrawer, SlidingPaneLayout, Fragments etc.



A simple ORM solution for you applications. This is as easy as creating objects and saving to the SQLite database.The setup of classes makes use of java annotations. This saves a whole lot of time on configurations and gives the developer more time to spend on the login than on the syntaxes.Once you use it, you would find it hard to live without it.



Do you always forget to check for null when you getIntent().getExtras()? Think casting findViewById() to a TextView shouldn’t be necessary? RoboGuice 2 will help you.Inject your View, Resource, System Service, or any other object, and let RoboGuice 2 take care of the details.It would make the code slimmer and reduce several common runtime errors.

A powerful and lightweight JSON parser specifically for Android.If you have a web-service returning JSON, use jsonschema2pojo.org (or some similar tool) to generate the POJOs and with a single line of code, you can parse the JSON using this library. Use GSON along with ActiveAndroid and you can reduce the development time multiple folds.

A neat replacement for toasts. Nicely implemented and highly customizable.Gives your application a notification system which is cleaner and more aesthetic than native toasts and is rightly namex croutons :) .

Another cool library from the developer of Actionbar. It makes the viewpager more usable and enables easier navigation between fragments. The user has a clear idea of where he has navigated.

This is one of my favourites. If you thinking of developing live wallpapers, 3D games, this library might be very handy. One can easily export the 3D models from tools like Blender and render on the devices using openGLES using this library. Adding animations like rotation, scaling on user events is a cakewalk.


Handling large Bitmaps has given nighmares to many Android develoepers. This lightweight library saves the effort of handling bitmaps and provides great support of caching images. One can easily configure how they want to decode the bitmaps in their app. Definately a lifesaver library

Automation testing framework for Android. Developers and testers can generate test cases and ensure that minor changes do not introduce new bugs. Might seem to be an overhead in the early stages of development but helps keep maintainance work easy.

Quickly add support for scanning bar codes in and Android application. Easy to configure and use with high efficiency of scanning.

Tesseract is one highly optimized Optical character reader library available for Android. This is a cross platform library and will require some basic knowledge of using NDK in an Android app.

Plots neat and elegant graphs in various styles. The javadocs might not be great and it might not be all that easy to develop with less number of resources available and large number of classes, but the output is definately worth the effort.

EventBus


An Android optimized eventbus to help remove the complexity of communication between multiple views and background processes. EventBus decouples event senders and receivers and thus simplifies communication between app components.