简体   繁体   English

Java android激光条形码扫描仪

[英]Java android laser barcode scanner

I am trying to develope an application wich is able to read barcodes (1d not qr). 我正在尝试开发一个能够读取条形码的应用程序(1d而不是qr)。 The real problem is that the common barcode reader softwares are very useful but they appears to be too slow to use as a very frequent and common feature (these barcodes are quite long 20-30 digits and it seems to be too big for applications like zxing). 真正的问题是,通用条形码读取器软件非常有用,但它们似乎太慢而无法用作非常常见的功能(这些条形码的长度非常长,为20-30位,对于像zxing这样的应用似乎太大了)。 So i need to use a physical laser barcode scanner but i dont know the first clue where to start. 因此,我需要使用物理激光条形码扫描仪,但我不知道从哪里开始的第一个线索。 I also have an old laser barcode scanner to test with. 我也有一个旧的激光条形码扫描仪进行测试。 As far as i understand from that device manual it does not requires any driver only sends data as strings to the buffer of the keyboard but yet i was not able to make it work. 据我从该设备手册了解,它不需要任何驱动程序仅将数据作为字符串发送到键盘的缓冲区,但是我无法使其工作。 All of the manuals i found are focusing on qr codes and software based scanning. 我发现的所有手册都集中在二维码和基于软件的扫描上。 Any idea or link would be helpful that i can use to learn about these things. 我可以使用任何想法或链接来了解这些东西。

I have just (yesterday) successfully tested the following combination: 我刚刚(昨天)成功测试了以下组合:

Nexus 7 + 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 OTG电缆( [售后产品]用于Samsung GT-i9100 i9100 Galaxy S II 2 GT-N7000 Galaxy Note的全新Micro USB主机模式OTG电缆闪存驱动器SD T闪存卡适配器 )+

USB laser barcode scanner (available here: USB Automatic Barcode Scanner Scanning Barcode Bar-code Reader with Hands Free Adjustable Stand (Black) ). USB激光条形码扫描仪(可在此处使用: USB自动条形码扫描仪扫描带有免提可调支架的条形码条形码读取器(黑色) )。

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. 我扎根了N7 ...但是我不确定这是否有必要。

Should have mentioned.... not sure about how draining on the battery it is so do watch out for that. 应该提到...。不确定电池的电量消耗情况,因此请注意这一点。

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

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