简体   繁体   English

使用Zxing连续扫描条形码

[英]Scan barcodes consecutively with zxing

I'm currently using ZXing to scan barcodes in my app. 我目前正在使用ZXing扫描应用程序中的条形码。 I can scan a barcode, save the result and open the scanner again to scan multiple barcodes, but I want the scanner to remain open so I can scan multiple products one after each other. 我可以扫描条形码,保存结果,然后再次打开扫描仪以扫描多个条形码,但是我希望扫描仪保持打开状态,以便可以一个接一个地扫描多个产品。

I followed this ( https://code.google.com/p/zxing/wiki/ScanningViaIntent ) Tutorial so far, but it does not provide information on how to scan them with keeping the scanner on screen. 到目前为止,我已经按照该教程( https://code.google.com/p/zxing/wiki/ScanningViaIntent )进行操作,但是该教程并未提供有关如何在不将扫描仪放在屏幕上的情况下对其进行扫描的信息。

On iOS it is possible with the ZBar SDK. 在iOS上,可以使用ZBar SDK。

Thanks for your input and help. 感谢您的输入和帮助。

It's not possible. 这是不可能的。 You can do it with the app itself but not by Intent. 您可以使用应用本身进行操作,但不能使用Intent进行操作。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM