Barcode and QR code reading
Using QRCodeReaderView (based on Zxing)
QRCodeReaderView implements an Android view which show camera and notify when there's a QR code inside the preview.
It uses the zxing open-source, multi-format 1D/2D barcode image processing library.
Adding the library to your project
Add QRCodeReaderView dependency to your build.gradle
- Add to your layout a
Then in your Activity, you can use it as follows:
This modified text is an extract of the original Stack Overflow Documentation created by following contributors
and released under CC BY-SA 3.0