Android QR Code Scanner Library | Top 7 Curated List

Android QR Code Scanner Library can be a great help for developers building a QR code scanning app for Android. It can help you easily implement the QR Code scanning feature without writing much code.

Need some career advice or prepping for an Android developer interview? Hit me up on Topmate.io, and let's chat!

android qr code scanner library

Here a curated list of Top 10 Android QR Code Scanner Library for your App with link to complete documentation provided:

ZXing QR Code Scanner (Java)

Android library projects that provide easy to use and extensible Barcode Scanner views based on ZXing.

Zing Scanner Library

To use this library add the following dependency to your build.gradle file.

repositories {
   jcenter()
}
implementation 'me.dm7.barcodescanner:zxing:1.9.13'

Link to Github

Code Scanner (Java & Kotlin)

Code Scanner is a QR Code scanner library for Android, based on ZXing with added features like:

  • Auto focus and flash light control
  • Portrait and landscape screen orientations
  • Back and front facing cameras
  • Customizable viewfinder
  • Kotlin friendly
  • Touch focus
Code Scanner

To implement this library in your Android Studio project, add the following line of code to your build.gradle (app) dependencies:

dependencies {
    implementation 'com.budiyev.android:code-scanner:2.1.0'
}

Add camera permission to AndroidManifest.xml (Don’t forget about dynamic permissions on API >= 23):

<uses-permission android:name="android.permission.CAMERA"/>

Link to Github

QR Code Reader View (Java)

Though not actively maintained, built by David Larazo, This Android QR Code library is a modification of ZXING Barcode Scanner project for easy Android QR-Code detection and AR purposes.

This project implements an Android view which show camera and notify when there’s a QR code inside the preview.

Some Classes of camera controls and autofocus are taken and slightly modified from Barcode Scanner Android App.

You can also use this for Augmented Reality purposes, as you get QR control points coordinates when decoding.

To implement this library in your Android project, add the following line of code to your build.gradle (app) dependencies:

dependencies{
      compile 'com.dlazaro66.qrcodereaderview:qrcodereaderview:2.0.3'
}

Link to Github

QR Reader (Java)

Created and maintained by Nishant Srivastava. The QR Reader android library which makes use of Google’s Mobile Vision API to enable reading QR Code.

The library is built for simplicity and ease of use. It not only eliminates most boilerplate code for dealing with setting up QR Code reading but also provides an easy and simple API to retrieve information from QR Code quickly. Also, it required Google Play Services to work.

Integration QREader is available in the Jcenter, so getting it as simple as adding it as a dependency

implementation 'com.github.nisrulz:qreader:{latest version}'

Link to Github

Mobile Vision QR Code Scanner (Java)

Built by developer KingsMentor, Its a Barcode and QR Code Scanner supported by Mobile Vision Api.

The library is able to:

  • Capture a scanned screen
  • Support two or more barcode format
  • Release a barcode detector
  • use the front camera for scanning
  • immediate refresh functionality
  • update to 11.0.4 mobile vision SDK

Use this library by ading following line of code to your build.gradle (app) dependencies:

dependencies {
	        implementation 'xyz.belvi.mobilevision:barcodescanner:2.0.3'
	}

Link to Github

QR Parse Library (Java)

This lib intend to help developers to parse the qr text returned from any qr reader to an elegant form which you can display in a textview

and the ability to return a well formated object which you can use to get desired field.

Features supported by this library are as follows:

  • It gives you the ability to change the QR reader replace it with your choice and the parser will be the same
  • Keep history to all QR codes scanned before
  • parse QR codes to a well-formatted object which contain a raw value you can use to display it into text view or use it to get specific values
  • ability to handle all the actions associated to a QR code (i.e for contact info it supports the show on map, call, send mail and add to contacts)
  • ability to use flash light
  • support device rotation
  • easy to use

This library is yet to provide support for Gradle build.

Link to Github

Firebase QR Code Scanning API

Though its not a library but we though this may help.

With ML Kit’s barcode scanning API, you can read data encoded using most standard barcode formats. Barcode scanning happens on the device and doesn’t require a network connection.

Add the dependencies for the ML Kit Android libraries to your module (app-level) Gradle file (usually app/build.gradle):

dependencies {
  // ...

  implementation 'com.google.firebase:firebase-ml-vision:22.0.0'
}

Now go ahead and build your amazing androi QR code scanning app.

You may also like to see Document Scanning library, view here.

View Comments (0)