Reputation: 57
Can I make my phone camera natively read QR code and take necessary action without opening the specific application to read it? I don't want to open the application to read these QR codes.
I am developing an android application which requires the following functionality. Please let me know how I can do it.
Thanks,
Upvotes: 0
Views: 2448
Reputation: 5984
Spinning on @Sid's answer, the Mobile Vision API is my preferred way to go. It contain Google's own barcode detector classes and I use it in production apps with great result.
If you like a simpler interface that just opens the camera and returns the QR-code (or barcode) upon detection, this tutorial will probably be most useful. It contains all the stipped down classes you need as well.
Upvotes: 0
Reputation: 14916
What about native Mobile Vision API? And here's a tut for barcodes by Google.
Upvotes: 1
Reputation: 3574
This is the open source project to build QRCode reader with android camera https://github.com/zxing/zxing
Upvotes: 1