Closed jemshit closed 7 years ago
There is no way to infinitely scan for barcodes. In MULTIPLE
mode the library will continue to scan and detect barcodes until user taps on the screen. You can achieve it by extending the BarcodeCaptureFragment
and overriding void onBarcodeDetected(final Barcode barcode)
.
As I told earlier, you can do that by extending the BarcodeCaptureFragment
and overriding void onBarcodeDetected(final Barcode barcode)
and public boolean onTouch(View v, MotionEvent event)
. You won't be able to stop the detection/frame processing though, if you must do that then you'll need to modify CameraSource
Hi, how do i continue capturing barcodes after it has captured the barcode and showing the preview? I'm using
BarcodeCaptureFragment
, SINGLE_AUTO mode. I couldn't find any method in that Fragment to continue camera capture