zxing

UNEXPECTED TOP-LEVEL EXCEPTION: com.android.dex.DexException

核能气质少年 提交于 2019-12-10 12:58:52
问题 I am trying to integrate barcodefraglibv2 into my android app in AndroidStudio. I tried to copy libs core.jar and barcodelib.jar into libs directory. However when I try to run application, I get following error Error:Execution failed for task ':Blok:dexDebug'. > com.android.ide.common.internal.LoggedErrorException: Failed to run command: /home/backman/android/sdk/build-tools/android-4.4.2/dx --dex --output /home/backman/AndroidStudioProjects/Blok/Blok/build/dex/debug /home/backman

how to import zxing library project for android app in eclipse

二次信任 提交于 2019-12-10 11:44:45
问题 check out zxing from Svn reository then in zxing folder i found several folders ,i don't know which one is used to integrate zxing library in android app,here i am placing the zxing folder after checkout. 回答1: Checkout Integrating the ZXing library directly into my Android application question and answers on Embed Zxing library without using Barcode Scanner app question. I'm quoting the answer of Sean Owen, one of the author's of Zxing library from this answer: " The complete source code is

How to integrate tab host with zxing qr code scanner?

左心房为你撑大大i 提交于 2019-12-10 10:58:33
问题 I want to integrate zxing qr code scanner in my application which is having three tabs in my application. Currently when my one of the tab bar butto gets pressed at that time I am calling zxing qr code's scann activity but when ever its calling it is showing error like below. java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.beepz/com.google.zxing.client.android.CaptureActivity}: java.lang.RuntimeException: Your content must have a TabHost whose id attribute is

Apache FOP 1.1 QRCodes with zxing

*爱你&永不变心* 提交于 2019-12-10 09:43:59
问题 OK I am having an issue producing QR Codes in FOP 1.1 using barcode4j-2.1 and zxing-0.1.2. I currently have a FOP 1.0 implementation working correctly, by adding <prefer-renderer>true</prefer-renderer> to the fop configuration file. barcode4j barcodes are working regardless if prefer renderer is set or not, fixed in barcode4j-2.1. I have all necessary dependancies: fop-zxing-0.1.2-jar-with-dependencies.jar barcode4j-fop-ext-complete.jar saxon9he.jar - using for xslt 2.0 ... here is the

Zxing 二维码的生成,素材,logo的添加

点点圈 提交于 2019-12-10 04:01:46
前不久接到一个二维码的生成工作,要求生成的二维码添加指定的背景图和logo,在网上找了一些资料,用了zxing3.0的jar包,成功解决问题,现在和大家分享一下; import java.awt.BasicStroke; import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.Image; import java.awt.Shape; import java.awt.geom.RoundRectangle2D; import java.awt.image.BufferedImage; import java.io.File; import java.io.FileOutputStream; import java.io.IOException; import java.io.OutputStream; import java.net.URL; import java.util.Hashtable; import javax.imageio.ImageIO; import com.google.zxing.BarcodeFormat; import com.google.zxing.EncodeHintType; import com.google

how to add logo to qr codes

China☆狼群 提交于 2019-12-09 13:39:53
问题 I am using zxing (java) to generate qr codes and want to know a method to add logo to the qr code. Is there any built in method for adding logo to it or any alternate for same. 回答1: You will have to add an image overlay perhaps using another image library. I managed to find this resource that was able to do it. http://skrymerdev.wordpress.com/2012/09/22/qr-code-generation-with-zxing/ However I am certain you cannot add an image directly in the center of an QR code it will not allow the QR

Storing binary data in QR codes

岁酱吖の 提交于 2019-12-09 00:59:11
问题 I'm trying to store binary data in a QR code. Apparently QR codes do support storing raw binary data (or ISO-8859-1 / Latin1). Here is what I want to encode (hex): d1 50 01 00 00 00 f6 5f 05 2d 8f 0b 40 e2 01 I've tried the following encoders: qr.js Google Charts qrcode.js Decoding with zxing.org produces various incorrect results. The two javascript ones produce this (it's wrong; the first text character should be Ñ. Whereas Google Charts produces this... What is going on? Are any of these

Generating QR code on Windows Phone 7.1 using ZXing 2.0 C# Port

扶醉桌前 提交于 2019-12-08 21:02:33
I'm having trouble generating a QR code on mango 7.1 with ZXing 2.0. It should be pretty straight forward, but it's not working. The code: QRCodeWriter writer = new QRCodeWriter(); var bMatrix = writer.encode("Hey dude, QR FTW!", BarcodeFormat.QR_CODE, 25, 25); var asBitmap = bMatrix.ToBitmap(); image1.Source = asBitmap; image1 comes from the xaml. bMatrix seems to contain the data that I need, but image1 never shows a thing. So I managed to do a workaround. I'm not sure if my original code didnt work due to a bug in the ZXing C# port or if I did something wrong. Anyhow, here is what I did to

Missing GS1 Symbol Identifiers with zxing and zbar

孤人 提交于 2019-12-08 19:41:35
问题 I am trying to validate GS1 Barcodes with zxing or zbar. The GS1 specification says in 7.8 that GS1 Barcodes must start with a specific Symbology Identifier: ]C1 = GS1-128 ]e0 = GS1 DataBar and GS1 Composite Symbols ]d2 = GS1 DataMatrix ]Q3 = GS1 QR Code But zxing only shows the symbol identifier for CODE-128 (with or without --gs1), not for the rest. ZBar show the symbol identifier not at all. Is my understanding of the specification correct? Is there anyway to extract those identifier from

ZXing(Zebra Xing) Unable to scan/ detect the barcode in Xamarin iOS

白昼怎懂夜的黑 提交于 2019-12-08 14:02:10
问题 I posted couple other questions in regards to Zxing please DONT mark it duplicate just because they are about Zxing.. So, in my Xamarin iOS app, I am using Zxing to detect the barcode. I am using https://github.com/Redth/ZXing.Net.Mobile/tree/master/Samples/iOS as example. I am using a subview to scan for barcodes. The custom overlay n everything works fine but it is unable to detect the barcode when I'm trying to scan. Can anyone please help me out where I'm doing wrong or missing something.