B4A + B4i barcode reader. Don't miss: - #PlistExtra in B4i. - Manifest code + #AdditionalJar in B4A Depends on BCToast: https://www.b4x.com/android/forum/threads/b4x-bctoast-cross-platform-custom-toast-message.111046/#content (BCToast will be an internal library in the near future) While the...
www.b4x.com
But I can't solve one problem: - When scanning barcodes, especially ean-13, the same barcode is detected up to 10 times. How can I pause after the first barcode detection for at least 3 seconds to eliminate unnecessary repeated definitions of the same barcode. Blocking repetitions of values is not suitable, since sometimes you need to scan the same barcodes, but for this there should be a pause from false positives.
Many thanks to all those who are not indifferent!
I got out of the situation using a standard timer. After the first detection, you need to perform the "StopCamera" procedure, after that, after 1-3 seconds, you need to perform the "StartCamera" procedure. The next example improvement may be the addition of a vibration signal. Thank you all, sorry for the trouble.