barcode-scanner

How to call scanned barcode history from zxing

天涯浪子 提交于 2019-12-08 07:02:22
问题 I am scanning barcodes using Zxing in my application i have a button called History onclick it should display scanned barcode history i dont know how to call history from zxing. 回答1: If by Zxing, you mean you are using the library (not the zxing client app) to scan QR codes then you will have to implement the history related functionality on your own. Basically save items in the database base each time you have successfully scanned something. Take a look at the implementation of history

How do I emulate key function CTRL-B to a barcode

一笑奈何 提交于 2019-12-08 06:30:24
This is my first post on this website, can't seem to solve the problem. How do I emulate key function Ctrl + B to a barcode so i can scan the barcode with a scanner without pressing Ctrl + B . I've tried reading the ASCII Control Codes ASCII control codes Please help me. As one of your tags demonstrates, you are already aware of the code 128 symbology. You will want to use the code128A start code (103) and the same character as a lower case 'b' in code128B (66). Finally, after adding additional data, properly calculate the checksum and add it as well as the stop code (106). The following HTML

How to fill-in two input[text] in an HTML form using a barcode reader?

六眼飞鱼酱① 提交于 2019-12-08 06:17:35
问题 I have a web page with one input text for the barcode content and a select for the barcode type. So using the database, it is possible to generate the barcode in the good format. A normal final user don't know which barcode as which type, but the barcode reader knows and can send this type as a keyboard input. The problem is that I don't know how to change from the input to the select. If I use, the \t , it prints a tabulation in the input instead of switching from a input to the other. If I

Not able to convert Zxing into portrait mode in android

有些话、适合烂在心里 提交于 2019-12-08 04:26:31
问题 I have followed the following answer to do this. https://stackoverflow.com/a/16252917/2747591 But I am not getting what i want to do. The image captured by camera is rotated by 90 degree while i am trying to scan. Like if you are clicking a photo of a person using the camera, then in my phone screen it is showing the preview rotated by 90 degree. But that is not what i want as it is making bar code scanning difficult to use. I want preview as it should be. Any ideas? Here are my changes in

How turn on flashlight using Barcode Detection in Google Play services?

↘锁芯ラ 提交于 2019-12-08 00:44:23
问题 I'm trying to reimplement Redlaser barcode Scanner using Google play services. And face to the problem with flashlight. Android hardware.Camera object can't be using in common with CameraSource from gms.vision . Is there any opportunity to working with flashlight and Google barcode scanner? 回答1: Not sure I fully get what you're asking but my approach to this was to use the already created mCamerSource Object and setFlashMode() from there, this worked for me as I used a button to toggle the

How to stop scanning and store data from Google's Vision API?

末鹿安然 提交于 2019-12-07 15:17:08
问题 I'm using Google's Vision API BarcodeScanner on my project. I would like to interrupt scanning once a code has been scanned and store the content in another activity. How can i do that ? There are so many classes and 'interconnections' :x Thanks ! 回答1: If you are using CameraSourcePreview as in the sample code, you can call its "release()" method to shut down the camera and the associated barcode detector. If you are using the CameraSource directly without the preview, then you can call

Are there any different between Scan image through camera and capturing image from camera?

帅比萌擦擦* 提交于 2019-12-07 14:07:25
问题 I need to know that different between scanning and taking photo from camera . As example we normally , SCAN QR code , bar code , like thing using android phone.They are also image. we can take photo from camera. it also image. So ,is it Scanning QR code , mean take image and processing it or are there have any special thing take image from pixel values ? 回答1: Biggest difference is that when you capture an image you get a processed jpg file, when you're scanning you're working with raw YUV

iOS10 and Safari and Chrome no longer working with Bluetooth scanner

偶尔善良 提交于 2019-12-07 11:16:16
问题 This is almost an EXACT reoccurrence of problem that was in iOS 8 and finally fixed in iOS 8.3. That problem was documented here : iOS8 and Safari no longer working with Bluetooth scanner What's happening is using a bluetooth barcode scanner. Scanning into a web application produces inconsistent results. Sometimes more characters sometimes less. In the previous iOS 8 issue the problem was only in Safari. This time it's worse because the problem is now in both Safari AND Chrome. So there's no

How to open “zxing Barcode” scanning screen in a small window?

旧城冷巷雨未停 提交于 2019-12-07 03:01:16
问题 "zxing Barcode" scanner is successfully working in my App https://github.com/journeyapps/zxing-android-embedded I want to open the scanning screen (i.e., Intent), on same Activity in the center in a small window How can I get this type of Interface ? http://i.stack.imgur.com/bpT5R.jpg 回答1: You may use Journey's Library. You can use the scanner as a component just like an image or a text. It's based on ZXing. =) 来源: https://stackoverflow.com/questions/30937104/how-to-open-zxing-barcode

How to fill-in two input[text] in an HTML form using a barcode reader?

删除回忆录丶 提交于 2019-12-06 23:14:26
I have a web page with one input text for the barcode content and a select for the barcode type. So using the database, it is possible to generate the barcode in the good format. A normal final user don't know which barcode as which type, but the barcode reader knows and can send this type as a keyboard input. The problem is that I don't know how to change from the input to the select. If I use, the \t , it prints a tabulation in the input instead of switching from a input to the other. If I use a \n it submit the form. Do you have any idea of how I can do it so that my form can be use with or