barcode

Releasing a unplugged virtual Serial Port

放肆的年华 提交于 2019-11-26 02:00:36
问题 I got a little problem with a USB Barcode Scanner. I am using the Scanner with the \"SerialPort\" class: this._barcodeScanner = new SerialPort(comPort, 9600, Parity.None, 8, StopBits.One) { Handshake = Handshake.None, ReadTimeout = 500, WriteTimeout = 500 }; this._barcodeScanner.Open(); this._barcodeScanner.DataReceived += BarcodeScannerCallback; If I unplug the USB Device while it´s opened via the \"SerialPort\" class, I can´t close the software properly and the virtual port stays open for

Using ZXing to create an Android barcode scanning app [duplicate]

喜你入骨 提交于 2019-11-26 01:38:35
问题 This question already has answers here : Integrating the ZXing library directly into my Android application (16 answers) Closed 3 years ago . I\'ve been searching for how to add a barcode scanner to my app. Are there any examples or how can I do this easily? 回答1: The ZXing project provides a standalone barcode reader application which — via Android's intent mechanism — can be called by other applications who wish to integrate barcode scanning. The easiest way to do this is to call the ZXing

Integrating the ZXing library directly into my Android application

∥☆過路亽.° 提交于 2019-11-26 01:20:54
问题 I\'m writing this in mere desperation :) I\'ve been assigned to make a standalone barcode scanner (as a proof of concept) to an Android 1.6 phone. For this i\'ve discovered the ZXing library. I\'ve googled, read related topics here on StackOverflow used common sence and so forth. Nothing seemed to have helped, and i just can\'t punch a hole on this mentale blockade :/ I know it to be possible, to use the lib, and create your own standalone barcode scanner. I\'ve read that using the \"Barcode