There are many ways to store data in Android. These libraries will help working with each of these types faster and more efficient. Continue reading “Android Database Libraries”
AsyncTask is a sought after solution when it comes to working with network connection. However, it has lots of disadvantages and lacks of features to make network requests more efficiently. Fortunately, there are a lot of Android network libraries which can do what Asynctask do and do it even better. These libraries provide important features that developers require in a library. Some of them are executing requests in parallel, cancelling network requests, caching downloaded data locally, wrapping REST API calls, supporting SPDY, HTTP/2, and serializing through JSON.
Continue reading “Android Network Libraries”
It must be boring to see the same effects and no animations on all apps’ widgets. These libraries will apply different types of effects to Android widgets.
Continue reading “Android Animation Libraries”
ListView used to be core element of many apps. RecyclerView widget is a more advanced and flexible version of ListView. After RecyclerView was announced, it quickly replaced ListView. Furthermore, there are more RecyclerView libraries which will help improve your app’s layouts and functionality.
Continue reading “8 Android RecyclerView Libraries”
Below are some libraries which can help display and cache image in Android. Each one has its own pros and cons so pick one carefully based on how complicated your project is.
Picasso is a simple yet powerful image downloading and caching library. I like using Picasso in all of my projects. The reason behind it is because this image library is the only one I knew when I first started learning Android development. I like how it allows for simple image loading in my app with only one line of code in most cases.
Continue reading “Android Image Loading and Caching Libraries”
Picasso is an image library for Android. It simplifies the process of displaying images from internal storage or from an external URL. When it comes to processing images in an app, Picasso is always my choice.
Loading an image is just simple like this:
//from URL Picasso.with(context).load("http://ecx.images-amazon.com/images/I/51E4mxqPUlL._SX331_BO1,204,203,200_.jpg").into(imageView); //from resources, assets, files, content providers Picasso.with(context).load(R.drawable.camera).into(imageView); Picasso.with(context).load("file:///android_asset/file_name.png").into(imageView); Picasso.with(context).load(new File(...)).into(imageView);
Developing a chat or message app requires lots of skills, including server’s back-end service creation skill and Android development skill. It is better for a developer to let a 3rd-party handle server logic and scalability to focus on Android development only.
There are many services which provides back-end for message storage while providing API & SDK for developer to create a message app easier.
What these services offer:
- Server for messages storage
- SDKs for app development
- Push notification support
- One-to-one, group and cross-platform chat support
Creating chart has never been a fun task to do. These libraries will help developer avoid this horrendous task.
AChartEngine is a charting library for Android app development which supports a large ranges of chart types, from simple ones such as line, bar and pie to complicated ones such as combined chart. It has the biggest number of supported chart types compared to other libraries mentioned in this post. The charts can be built as a view which can be added to any view groups or as an intent, such as it can be used to start an activity.
Continue reading “Create Charts and Graphs Easier With These Android Libraries”
When it comes to debugging in Android, developers all think of Android Debug Bridge (adb) which is a versatile command line tool which allows developer to communicate with an emulator instance or connected Android-powered device. There are many external libraries and tools which can make debugging process easier and better. Following are some of them:
Lynx shows a list view of all the information Android logcat is displaying. Different traces of different levels from log messages to app’s exception ones are displayed on screen. You can filter these traces, share the logcat to other apps. The max number of traces can be set to show.
Continue reading “Debug Tools for Android Development”
There are several standard libraries for processing XML files using Java language. The SAX and the DOM XML parsers are also available on Android which are also similar to ones used in Java.
XML Pull Parser is an interface that defines parsing functionality provided in XMLPULL V1 API. It comes with Android SDK.
Continue reading “Working with Android XML”