Scan multiple barcodes with ZXing

安稳与你 提交于 2019-11-28 04:54:10

问题


I am currently trying to get ZXing to scan some barcodes. It's doing that job fine so far (via intent).

Now I would like to make it decode multiple barcodes at once (they are placed beneath each other) without having to scan each barcode individually.

Is this even possible via intent? If not, a short example of how to do it the other way would be appreciated :)

I've so far only found a pretty old thread where a user requested this feature and some developers seem to have integrated it. However, I am unable to find any tutorial explaining the utilization.

The thread can be found here.


回答1:


It's not possible by Intent, but it is certainly possible within the project. You would have to write your own scanning component, then use the core library's support (which you've found) to find multiple barcodes and do something with them.



来源:https://stackoverflow.com/questions/11628373/scan-multiple-barcodes-with-zxing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!