How to scan qr code on android phone

Updated 6 January 2021


A QR code (abbreviated from Quick Response code) is a type of matrix barcode (or two-dimensional barcode).

At the very first, We have to add the Google Play Services Integration in our app and for adding the gms services dependency in build.gradle


And at the globally build.gradle must have

Before installation, Scan QR Code to make Mobile Vision APIs functional add the meta data tag inside the Manifest file

Also add the uses permission and uses feature inside the Manifest file

Now, Make the xml file for show the QR scan code

Now, the BarCodeActivity code has given below:

For more understanding please can go through with these links:

You can also check this link:


In this post, you learned that it shows the bar code text after scanning the bar code using the Mobile Vision APIs. It reads the data, as well as it understands what type of data it is.

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*

Be the first to comment.

Start a Project

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home