zxing

FileNotFoundEXception in android zxing library

跟風遠走 提交于 2019-12-11 07:58:14
问题 I am using zxing2.0 library for android but I get this exception :, what does it mean ? 10-01 22:20:03.197: E/AndroidRuntime(345): java.lang.RuntimeException: Unable to start activity ComponentInfo{phoenix.metro.uis/com.google.zxing.client.android.CaptureActivity}: android.content.res.Resources$NotFoundException: File res/xml/preferences.xml from drawable resource ID #0x7f050000 10-01 22:20:03.197: E/AndroidRuntime(345): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java

ZXing.Mobile.MobileBarcodeScanner.Cancel() not working

◇◆丶佛笑我妖孽 提交于 2019-12-11 04:22:32
问题 I'm developing a mobile application on Xamarin Forms for UWP, Android and IOS on Visual Studio. I'm currently testing the app on my computer(Windows 10) and my phone (also Windows 10). I'm using Zxing MobileBarcodeScanner to scan multiple barcodes. When i press the back button i call the MobileBarcodeScanner.Cancel(). The only thing that it does is to close the camera. It doesn't depose the MobileBarcodeScanner's UI and i didn't found any solution for that. Can anyone help me or suggest a

Exception java.lang.NoSuchMethodError with qrgen and zxing libraries

◇◆丶佛笑我妖孽 提交于 2019-12-11 03:46:45
问题 Normally, I use maven in my project but because of some migration problems I have to (temporally) download jars. I want to use the following code: import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; import net.glxn.qrgen.QRCode; import net.glxn.qrgen.image.ImageType; public class Main { public static void main(String[] args) { ByteArrayOutputStream out = QRCode.from("Hello World") .to

'CoreVideo/CoreVideo.h' file not found

谁说我不能喝 提交于 2019-12-11 03:30:10
问题 When I run a iOS App on my device , This error will appear 'CoreVideo/CoreVideo.h' file not found not matter what project even though create a new project , once run the app on my device this error will appear but the Simulator will be OK~ and I can't find some frameworks in Target--Build Phase--Link Binary With Librares--add like AVFoundation.framework AudioToolBox.framework Should i reinstall the xcode on my mac~??? 回答1: Make certain you've added the CoreVideo framework to your project.

get zxing data into swipe view fragment

爷,独闯天下 提交于 2019-12-11 03:21:36
问题 I am using zxing in a fragment of viewpager tab. I can call zxing with Intent and read the QR code but I can't get result to a edittext. This is where i create tab in FragmentPagerAdapter: @Override public Fragment getItem(int i) { switch (i) { case 0: return new Tab1(); case 1: return new Tab2(); default: return new EmptyTab(); } } And my Tab1 class: public class Tab1 extends Fragment { @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState

Exception in listener attached to multiple buttons in barcode app

前提是你 提交于 2019-12-11 03:14:31
问题 Okay, So I am developing an in house barcode scanner for my company to use when we move computers and equipment. I am currently almost through setting up the Zxing Barcode Scanner Via Intent after some trial and error. Here is what I'm trying to do. Next to three EditText fields I have Three ImageButtons that when clicked, implement the BarcodeScanner , once scanned returns the value and inputs the value into the EditText field. I was able to do it successfully using one "listener"

ZXing PDF417 + ALL_CODE_TYPES

依然范特西╮ 提交于 2019-12-11 03:04:35
问题 Using ZXing (on Android), if you initiate a PDF417 barcode scan like this... List<String> oDesiredFormats = Arrays.asList("PDF_417".split(",")); IntentIntegrator integrator = new IntentIntegrator(this); integrator.initiateScan(oDesiredFormats); ... and you initiate an "all codes" (except PDF417 and maybe a few others) barcode scan like this... IntentIntegrator integrator = new IntentIntegrator(this); integrator.initiateScan(); ... then how do you initiate a single barcode scan that will

Memory issue when using CGImage.ScreenImage in a loop using Mono Touch

☆樱花仙子☆ 提交于 2019-12-11 03:04:29
问题 I'm trying to create an app to read QR codes using Monotouch and C# port of Zxing but I'm hitting memory issues. While the app processes captured screen frames the app receives memory warnings and is then shut down. I have removed the call to Zxing to track down where the memory issue stems from and can reproduce the issue with just capturing the screen image in a loop. Here is the code: using System; using System.Drawing; using System.Collections.Generic; using System.Threading; using

zxing in C# using IKVM

ⅰ亾dé卋堺 提交于 2019-12-11 02:53:25
问题 I converted the jar file into .net dll file using IKVM. Now i am trying to consume it in my .net app, but it seems that the qrcodereader.decode requires BinaryBitmap which further requires Luminance as parameter. Please guide me in this situation since i couldn't find the right classes that implements the abstract classes. 回答1: Luminance sources are platform specific. You can find examples in the android, java2se, and iphone directories. I don't know if there are any luminance sources in the

PhoneGap BarcodeScanner - ClassNotFound

我的未来我决定 提交于 2019-12-10 15:11:54
问题 UPDATE 2 I posted an answer that fixes my original problem. See that for more information. UPDATE FYI for anyone wondering, in the end I found this: http://github.com/commonsguy/zxingdemo/tree/master Exactly what I needed to get it rolling was a simple demo that worked! Also, thanks to Sean for pointing me in the right direction for my googling. I am currently trying to build a simple android app that can scan in a barcode. I have looked through multiple tutorials, tried everything to a T,