Reputation: 101
What are the best ways to read or decode QR Code in Android without the use of any 3rd party app. Suggest me any best API or source code which can be used for integrating in my own app.
Upvotes: 6
Views: 8825
Reputation: 5984
Google has a barcode class included in the Google Play services under the namespace com.google.android.gms.vision.barcode
. I'm using it myself in a production app and its just great! Its fast, robust and handles all from blurry to damaged codes.
Check out Android QR Code Reader Made Easy. This should get you up and running in no time! You can easily continue on the code base provided or equally easily integrate it in your existing project.
Upvotes: 4
Reputation: 2532
I would propose to use zxing library:
https://github.com/zxing/zxing
https://github.com/zxing/zxing/wiki/Getting-Started-Developing
You have two options:
Upvotes: 2