Posts

Showing posts with the label QRCode

QRCodeReaderView for Android

Image
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. Usage Add a "QRCodeReaderView" in the layout editor like you actually do with a button for example. In your onCreate method, you can find the view as usual, using findViewById() function. Create an Activity which implements onQRCodeReadListener , and let implements required methods or set a onQRCodeReadListener to the QRCodeReaderView object Make sure you have camera permissions in order to use the library. ( https://developer.android.com/training/permissions/requesting.html )   < com .dlazaro66.qrcodereaderview.QRCodeReader...