zxing

How To Use ZXing C# Port

不想你离开。 提交于 2019-11-27 02:57:11
问题 NOTE: My original question was about whether the ZXing C# port is reliable, but here, I'm trying to figure out how to use it. Thus, they are not duplicates. I'm trying to use the ZXing C# module, but I'm having trouble. Does anyone who has used ZXing before know how to do it correctly? Unfortunately, the C# documentation is quite small. My current code is: using com.google.zxing; using com.google.zxing.client.j2se; using com.google.zxing.common; //... Reader reader = new MultiFormatReader();

Updating sdk got NoClassDefFoundError for zxing

我的未来我决定 提交于 2019-11-27 02:36:31
问题 How to solve this NoClassDefFoundError. I have integrated Zxing in my app, every thing is working fine. Then I have updated my sdk and eclipse plugin, and when I run the project the log says 03-27 17:27:45.173: E/AndroidRuntime(8917): FATAL EXCEPTION: main 03-27 17:27:45.173: E/AndroidRuntime(8917): java.lang.ExceptionInInitializerError 03-27 17:27:45.173: E/AndroidRuntime(8917): at java.lang.Class.newInstanceImpl(Native Method) 03-27 17:27:45.173: E/AndroidRuntime(8917): at java.lang.Class

Using zxing Barcode Scanner within a web page

女生的网名这么多〃 提交于 2019-11-27 01:28:19
问题 Is there a working example how you can use the zxing Barcode Scanner from a web page? Referring to this documentation: https://github.com/zxing/zxing/wiki/Scanning-From-Web-Pages shouldn't the following test code work? function Test1() { $.ajax( { url: "zxing://scan/?ret=http%3A%2F%2Ffoo.com%2Fproducts%2F%7BCODE%7D%2Fdescription&SCAN_FORMATS=UPC_A,EAN_13", success:function() { alert("success"); }, error:function() { alert("error"); } }); } function Test2() { $.ajax( { url: "http://zxing

Undefined symbols for architecture armv7 when using ZXing library in XCode 4.5

五迷三道 提交于 2019-11-27 00:14:15
问题 What I am trying to do Integrate Zxing, QR code reader framework, in my iPhone project. I checked out ZXing sdk from here. I ran the sample project coming with ZXing, named ScanTest, without any issues. But when I try to integrate the library with my project I am getting the error mentioned. Project specification Target OS : iOS 6.0 Deployment target : iOS 5.0 or above. Tested on : iPhone 4 and iPhone 3GS. XCode : Xcode 4.5.1 ZXing version : 2.0 Problem When I build, after doing every

How to integrate Zxing Barcode Scanner without installing the actual zxing app (cannot resolve symbol: .android.CaptureActivity)?

自古美人都是妖i 提交于 2019-11-26 23:53:48
问题 I want to integrate zxing scanner into my app without needed of external application (zxing scanner from play store). This is my code Button scan = (Button) findViewById(R.id.scan_button); scan.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { Intent intent = new Intent("com.google.zxing.client.android.SCAN"); intent.setPackage("com.mypackage.app"); intent.putExtra("SCAN_MODE", "QR_CODE_MODE"); startActivityForResult(intent, SCANNER_REQUEST_CODE); } });

how does “com.google.zxing.client.android.SCAN” work in android?

南笙酒味 提交于 2019-11-26 22:07:05
问题 I developed a BarcodeScanner app with ZXING library. for that I downloaded the complete library and added it to my proj and called an Intent with URI:"com.myproject.vinscan.client.android.SCAN". but later I found that, instead of downloading and including all packages of ZXING into our proj, we can just use the URI for Inetnt as "com.google.zxing.client.android.SCAN". My doubt is, how is it working without the libraries. It is working even in offline mode(without WIFI/GPRS). are the libraries

Unity Zxing QR code scanner integration

試著忘記壹切 提交于 2019-11-26 21:04:03
问题 I need to integrate Zxing with vuforia to make a QR code scanning app in Unity? I have no idea how to integrate Zxing with Vuforia in unity.Can someone guide me how to do this?I have Zxing .dll files and Vuforia unity package.Thanks in Advance. 回答1: I was looking for integrating Zxing with vuforia in Unity today. The first thing to do is to download the dll from : https://zxingnet.codeplex.com/ and copy the unity dll into your Plugins folder (which should be in the Assets folder) Then, I

QR Code encoding and decoding using zxing

末鹿安然 提交于 2019-11-26 19:29:35
Okay, so I'm going to take the off chance that someone here has used zxing before. I'm developing a Java application, and one of the things it needs to do is encode a byte array of data into a QR Code and then decode it at a later time. Here's an example of what my encoder looks like: byte[] b = {0x48, 0x45, 0x4C, 0x4C, 0x4F}; //convert the byte array into a UTF-8 string String data; try { data = new String(b, "UTF8"); } catch (UnsupportedEncodingException e) { //the program shouldn't be able to get here return; } //get a byte matrix for the data ByteMatrix matrix; com.google.zxing.Writer

Alternative to zxing QR reader library for Java/Android? [closed]

狂风中的少年 提交于 2019-11-26 18:47:14
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . Is there any other library other than Zxing that can be used to create a QR code reader EVEN IF IT'S NOT FREE. of-course a free one

How to decode a QR-code image in (preferably pure) Python?

╄→гoц情女王★ 提交于 2019-11-26 18:45:17
问题 TL;DR : I need a way to decode a QR-code from an image file using (preferable pure) Python. I've got a jpg file with a QR-code which I want to decode using Python. I've found a couple libraries which claim to do this: PyQRCode (website here) which supposedly can decode qr codes from images by simply providing a path like this: import sys, qrcode d = qrcode.Decoder() if d.decode('out.png'): print 'result: ' + d.result else: print 'error: ' + d.error So I simply installed it using sudo pip