barcode-scanner

Prevent open downloads window in chrome with barcode reader

落爺英雄遲暮 提交于 2020-01-12 23:47:18
问题 i have this problem with my website (MVC3, C#) and a barcode reader. In my form i have something like this: <ajax form....> <input type=text /> <div id=list> </div> </form> And the input is filled with a barcode reader and automatically submits the form that with ajax, fills the div with the id = list. My problem is that with chrome and ie, after the text is submited, a downloads windows appears in chrome and the favorites window appears in ie. I suppose that is because the barcode reader

Prevent open downloads window in chrome with barcode reader

会有一股神秘感。 提交于 2020-01-12 23:46:11
问题 i have this problem with my website (MVC3, C#) and a barcode reader. In my form i have something like this: <ajax form....> <input type=text /> <div id=list> </div> </form> And the input is filled with a barcode reader and automatically submits the form that with ajax, fills the div with the id = list. My problem is that with chrome and ie, after the text is submited, a downloads windows appears in chrome and the favorites window appears in ie. I suppose that is because the barcode reader

zxing camera portrait mode and landscape on android

穿精又带淫゛_ 提交于 2020-01-10 03:09:37
问题 I have already integrated zxing library in my application. Now i want that zxing camera will work on both mode landscape as well as on portrait mode. now it is working on one mode only. Can somebody help me out how to do this? 回答1: I used compyutech 's answer, but there were some things missing. So, I'm putting everything required, here. 1. CameraConfigurationManager : inside initFromCameraParameters method : if (context.getResources().getConfiguration().orientation == Configuration

Detect when input box filled by keyboard and when by barcode scanner.

南楼画角 提交于 2020-01-09 01:53:04
问题 How I can programmatically detect when text input filled by typing on keyboard and when it filled automatically by bar-code scanner? 回答1: Well a barcode won't fire any key events so you could do something like: $('#my_field').on({ keypress: function() { typed_into = true; }, change: function() { if (typed_into) { alert('type'); typed_into = false; //reset type listener } else { alert('not type'); } } }); Depending on when you want to evaluate this, you may want to do this check not on change

Detect when input box filled by keyboard and when by barcode scanner.

拈花ヽ惹草 提交于 2020-01-09 01:52:31
问题 How I can programmatically detect when text input filled by typing on keyboard and when it filled automatically by bar-code scanner? 回答1: Well a barcode won't fire any key events so you could do something like: $('#my_field').on({ keypress: function() { typed_into = true; }, change: function() { if (typed_into) { alert('type'); typed_into = false; //reset type listener } else { alert('not type'); } } }); Depending on when you want to evaluate this, you may want to do this check not on change

Why is the previous form blocking the new form?

六眼飞鱼酱① 提交于 2020-01-06 13:00:06
问题 I am trying to open one form from another, closing the original form. This is standard stuff; I've done in doubtless hundreds of times over the years. Yet in this case, it's not working -- the previous form does not close - I see a piece of the new form "shining through" the old, and the caption changes from "Delivery" (original form) to "Find" (new form), but the controls on the "Find" form never display and, in fact, in a few seconds the app crashes, as if all its resources have been

Android Barcode Scanner Not reading some barcodes

泪湿孤枕 提交于 2020-01-05 11:03:30
问题 I am working on a Project which uses the Barcode Scanner for redeem points. I have tried Zxing,QR Droid, Red Laser,Scan Life,Shop Savy etc usig HTC EVO 3D. None of them read all barcodes. But Zbar for IOS reading all the same codes.I think its the problem with hardware of the device.Is there any Scanner App better than above mentioned ? Bar code Image. http://i.stack.imgur.com/7VR9I.jpg 回答1: This barcode is a form of RSS-14. zxing / Barcode Scanner reads it, but it's not the easiest to read.

Barcode scanner with a WPF application

你。 提交于 2020-01-05 04:28:14
问题 I have a barcode scanner (bluetooth) connected to my computer to use for scanning some barcodes. The scanner acts exactly like a keyboard does and returns whatever it scans. In my WPF application I have some textboxes for the user to manually enter in a product number, revision number, bin number, and lot number. I would like the user to be able to instead scan the QR/Bar? code which has all that information in it at any time. So I have a few issues: Is it possible to scan a barcode with your

Phonegap barcodescanner encode function stops app

假如想象 提交于 2020-01-04 09:17:02
问题 I am using barcodescanner.js plugin in my phonegap app and everything is working great for the following code. var scanner = cordova.require("cordova/plugin/BarcodeScanner"); scanner.encode(scanner.Encode.TEXT_TYPE, 123456789, function(success) { alert("encode success: " + success); }, function(fail) { alert("encoding failed: " + fail); }); but having an issue when encode finishes app stops. Have anyone got any example code of creating an additional function to invoke the success callback. My

iOS PhoneGap 1.7.0 + Barcode Scanning Plugin issue

我的梦境 提交于 2020-01-01 09:01:32
问题 Has anyone managed to get the BarcodeScanning plugin for PhoneGap to work on PhoneGap 1.7.0? Barcode Scanning plugin: https://github.com/phonegap/phonegap-plugins/tree/master/iOS/BarcodeScanner The issues is that the plugin is not getting set when its added.. I get the following when I call "alert(window.plugins.barcodeScanner);" "undefined" I am trying to isolate the point where the plugin is failing to get added and will update the question once I know more.. Thanks in advance for anyone