Thursday, 17 December 2015

The best Android libraries that Java & Android Programmer/Developer should know about

The best Android libraries that Java & Android Programmer/Developer should know about



-
Dagger
-

Dagger is a really lightweight dependency injection with no extra bells and whistles. It is a simple and fast dependency injector for both Android and Java. It has 2 pieces: the Dagger library (100kb of size) and the Dagger compiler.
The library contains all the necessary logic and some annotations. It also uses standard javax.inject annotations, making your code portable between different dependency injection frameworks like Spring or Guice. Dagger is one of the simplest and most lightweight DI frameworks. It doesn’t contain all the fancy features provided by larger frameworks but it is fast and it does its job. It’s definitely worth considering for when you want to use plain dependency injection with nothing else.

-
LeakCanary
-

It’s a memory leak detection library for Android and Java. It helps to detect easily leaking objects by just adding couple of lines of Java code to your existing code. It’s free and very easy to use. Similar to Dagger, the development of LeakCanary is also led by Square.
-
ZXing
-

Using Barcodes and QR codes has become a standard already in the machine-readable data world. ZXing has been around for a while. Originally written in Java, it can read and create barcodes on many platforms and it has been ported to many different languages. The library has been around for a while and has a good user base. The QR-code reader you are using in your smartphone is probably using this library. It works well and has a good history.
-
Retrofit
-

Retrofit is a library that can turn your REST API into a Java interface. It is a type-safe REST client for both Android and Java. Retrofit enables you to write nice code in pure Java for communication with almost any RESTful API. Like Android libraries tend to be – a lightweight and relatively easy to use.
-
Libphonenumber
-

It is probably the best and most comprehensive library for parsing, validating and formatting phone numbers. Other than the name, which doesn’t roll off the tongue, it’s great!
-
Tape
-

Tape is just a collection of classes for queue handling. It’s great for handling data streams and downloading 
data in unstable environments. Rather than code a load of the queue-handling work manually, Tape takes 
care of it for you. If something fails then Tape automatically retries run the command or operation again. 
Also, all intermediate results can be automatically cached, which is a useful feature too.
-
Jitpack.io
-

The Jitpack.io is developed by the team at Streametry Ltd. Jitpack can build any github project off the hook and publish it to the public Maven repo. How cool is that? It will help save time and hassle when building dependencies. This is one of the easiest ways to publish any Github project as a Maven dependency.

2 comments:

  1. Really an awesome share, Thanks for sharing useful information.
    IT Support Limerick

    ReplyDelete
  2. Awesome post, thanks for sharing information. SEO Jobs in Hyderabad

    ReplyDelete