dlazaro66 / QRCodeReaderView

Modification of ZXING Barcode Scanner project for easy Android QR-Code detection and AR purposes
1.9k stars 492 forks source link

How to pause scanner #10

Closed rey5137 closed 8 years ago

rey5137 commented 9 years ago

When I point the camera to an qr-code, it read the code continuously without a pause. Is there anyway to pause it without calling stopPreview(), and continue after I handle the result?

dlazaro66 commented 9 years ago

You could just ignore the java public void onQRCodeRead(String text, PointF[] points) { callback after the first result if you want to continue with the camera On. I don't provide a method to stop the scanner, but it can be easy to code it. I would kindly accept a pull request :smile:

dlazaro66 commented 8 years ago

I'm closing this because there is another similar issue: https://github.com/dlazaro66/QRCodeReaderView/issues/28