我正在尝试开发一个能够读取条形码(1d 不是 qr)的应用程序。真正的问题是,常见的条码阅读器软件非常有用,但它们似乎太慢,无法作为一个非常频繁和常见的功能使用(这些条码相当长,20-30 位数字,对于 zxing 之类的应用程序来说似乎太大了)。所以我需要使用物理激光条码扫描仪,但我不知道从哪里开始。我还有一个旧的激光条码扫描仪可以测试。据我从该设备手册中了解到,它不需要任何驱动程序只将数据作为字符串发送到键盘的缓冲区,但我无法使其工作。我找到的所有手册都侧重于二维码和基于软件的扫描。任何想法或链接都会有帮助,我可以用来了解这些事情。
1 回答
I have just (yesterday) successfully tested the following combination:
Nexus 7 +
USB OTG cable ( [Aftermarket Product] Brand New Micro USB Host Mode OTG Cable Flash Drive SD T-Flash Card Adapter FOR Samsung GT-i9100 i9100 Galaxy S II 2 GT-N7000 Galaxy Note ) +
USB laser barcode scanner (available here: USB Automatic Barcode Scanner Scanning Barcode Bar-code Reader with Hands Free Adjustable Stand (Black) ).
Works great !! However, sometimes the apps themselves are a bit slow on taking keyboard data (as they don't expect it to arrive so fast), so just be wary of that.
I rooted my N7 ... but I'm not sure if that's necessary.
Should have mentioned.... not sure about how draining on the battery it is so do watch out for that.