How do I stop the barcode Scanner after scan?
barcodeDetector
barcodeDetector = new BarcodeDetector.Builder(this)
.setBarcodeFormats(Barcode.QR_CODE)
.build();
}
You need to release BarcodeDetector after scanning complete. As
barcodeDetector.release();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With