barcode-scanner

How to deploy nativescript-barcodescanner in typescript?

对着背影说爱祢 提交于 2020-01-30 11:48:05
问题 I am trying to run demo from https://github.com/EddyVerbruggen/nativescript-barcodescanner/tree/master/demo both locally and online at https://play.nativescript.org/?template=play-tsc&id=CB7XFu&v=2 but no luck. On the playground I have added the plugin. I noticed there is a similar question here How to use BarcodeScanner plugin from NativeScript but seems it's 3 years before and the plugin changed a lot after that. Can anyone try the playground and tell which line I got wrong? I strictly

POS for .NET | Differentiate between (barcode) scanner and keyboard input

≯℡__Kan透↙ 提交于 2020-01-29 02:31:09
问题 I want to differentiate between (barcode) scanner and keyboard input in an WPF application. What I need is an event which occurs whenever my scanner is providing data. In my application there is a special field which will be filled with the input from the scanner. So, if the user has focused an other field I don't want to insert the scanned code in that, but my special field. First of all I switch the input mode of my scanner (connected by USB) from "keyboard emulation" to "raw". But what do

How to ZXING Barcode Scanner not full screen only half screen

不羁的心 提交于 2020-01-27 03:09:45
问题 I want create application Scan Barcode using ZXING Barcode Scanner Like Blackberry Messenger This is my code " MainActivity.java " package com.example.ridwan.myapplication; import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.widget.TextView; import info.vividcode.android.zxing.CaptureActivity; import info.vividcode.android.zxing.CaptureActivityIntents; public class MainActivity extends

Change screen orientation automatically while scanning (using ZXING library)

南笙酒味 提交于 2020-01-24 02:49:20
问题 I've MainActivity.kt where I show different fragments for different needs. At some point, I press button 'X' that calls startScanner() function: private fun startScanner() { IntentIntegrator(this) .setOrientationLocked(false) .setPrompt("SCANNING?") .initiateScan() } Manifest.xml: <activity android:name=".MainActiity" android:theme="@style/AppTheme" tools:replace="android:screenOrientation" android:stateNotNeeded="true" android:screenOrientation="fullSensor" android:windowSoftInputMode=

How to make Zebra Xing (Zxing) as subview in Xamarin Android

假如想象 提交于 2020-01-17 07:29:47
问题 In my Xamarin.Android app, I want to use ZXing to scan barcode. I want to display the scanner in the view of an activity. Code: <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:weightSum="5"> <Button android:text="Scan with Default Overlay" android:layout_width="fill_parent" android:layout_height="wrap_content" android:id=

Decoding the scanned barcode value to int value

可紊 提交于 2020-01-16 00:54:12
问题 When I scan the barcode and I get some value if it is Equal=2 then I need to display with == and if it is Equal=3 then I need to display with = and if the value is 4 then invalid. But Scanned Barcode are of integer value -- when decode using NSASCII it is displaying only till value 127 after that it is showing invalid results. Eg: if my Barcode value = 9699 the result value= jem then my added result value= jem= actualstring value= %å asc value id only showing 37 Here is my code: - (void)

Bar Code Scanner and Keyboard Issue

余生颓废 提交于 2020-01-15 06:34:08
问题 Bar Code Scanner and Keyboard. NOTE: My Bar Code Scanner is USB Type. Then... What function must be use to trigger the keyboard if i'm at auto.aspx page? I tried this code but no success: var barcode = document.getElementById('barcodenum'); barcode.addEventListener("keypress", function() { alert("Please use Barcode Scanner!"); document.getElementById('barcodenum').value = "";}, true); 回答1: As pointed out by @Robert Skarzycki above, i doubt you can integrate with the scanner using a web page.

PhoneGap: BarcodeScanner Sharing Plugin

左心房为你撑大大i 提交于 2020-01-15 02:45:08
问题 Note: I wanted to develop IOS and Android application with QR code scanning feature. I do not own Mac machine, I'm using Netbean / Eclipse in WIndows OS. Question: Is it possible to have single codebase written with Eclipse Windows OS + android BarcodeScanner Plugin, and get built into IOS application via Adobe Cloud Build service Deeply appreciated if someone could give me an advice. 回答1: If you're using the online compiler of phonegap (Phonegap Build) then it's possible to use a plugin for

Using AVFoundation to scan PDF417 barcodes

别等时光非礼了梦想. 提交于 2020-01-14 13:46:06
问题 I have a working iOS barcode scanner using the new AVFoundation barcode scanning classes in iOS 7. I can successfully get a string representation of a 1D barcode (for example, a UPC barcode) but I also need to scan two dimensional PDF417 barcodes. I can't seem to figure out how to get a string representation (or any representation) of the data stored in a PDF417 barcode. The scanner recognizes the barcode and returns a AVMetadataMachineReadableCodeObject but sending the stringValue message to

Enable USB-OEM (HID POS) mode in a Datalogic barcode scanner on OS X

℡╲_俬逩灬. 提交于 2020-01-14 03:37:27
问题 I am trying to use a Datalogic barcode scanner (Gryphon 44xx model) on a Mac, from an application (i.e. I am not writing a device driver). Instead of using the scanner's keyboard emulation I'd like to use the special USB HID scanner protocol, called "USB-OEM" mode by Datalogic. I've already successfully managed to use a different scanner in this mode (a GoDEX model), which sends me HID packets whenever it scans a code. However, the Datalog scanner doesn't attempt to scan nor sends scanning