My use case it to scan the barcode with a time gap of 1 sec continuously. How can we achieve this I saw the config api's and it seems these are decoder params. Can you please advise
config.readerParams.readerSpecific.imagerSpecific.continuousRead.isContinuousScan = true; config.readerParams.readerSpecific.imagerSpecific.continuousRead.sameSymbolTimeout = 1000;
Please let me know if there are any ways to achieve periodic scan.
Scan with time gap on TC70 |
1 Replies
Hi Kishor,
you can use the above mentioned parameters for continuous scanning as long as it is supported in your device/ OS version. Please write a small code and check if the above params are supported in your device using: ScannerConfig.isParamSupporetd function.
http://techdocs.zebra.com/emdk-for-android/4-0/api/barcode/ScannerConfi…
More info on continuos scanning:
ScannerConfig.ReaderParams.ReaderSpecific.ContinuousRead - Zebra Technologies Online Documentation
Or else, you can use the same way it is shown in the BarcodeSample1. That is using the read command in idle status. You can change the thread sleep to increase the gap between scans there.
If your requirement is different, please explain a bit more.
Thanks,
Charith.