zxing

How to add a logo to QR code in android

烂漫一生 提交于 2019-11-29 03:01:59
问题 I have seen few QR codes with company logo at the center. Is it possible to generate a QR code with a any logo in android? If possible kindly explain the way for doing it. Currently I am using Zxing for generating QR codes. 回答1: A QR code is a quick response code, You can use zxing to make the QR codes. but by default there are no company logos present there at center or any other part. What you can do is create a QR code and on top of it draw the logo image of the company 回答2: With reference

How to read multiple qr codes from one image using zxing library

那年仲夏 提交于 2019-11-29 02:23:59
问题 I am currently developing a scanner that reads multiple QR codes found in one image. I manage to read the QR codes in the image but it's giving me inconsistent results. Assuming there are 4 QR codes in the image, sometimes I can read 2 and sometimes 3 or just 1. Unlike in the original scanner (ZXing Scanner) it decodes fast. While in my case, I have to make sure there is enough light and the image is not blurred to decode it. I am using the QRCodeMultiReader to decode the image. Currently

ZXing barcode scanner in custom layout in fragment

落爺英雄遲暮 提交于 2019-11-28 20:46:13
I develope ZXing barcode continuous scanner following this page on Android Studio. My App build.gradle had include: repositories { mavenCentral() maven { url "https://raw.github.com/embarkmobile/zxing-android-minimal/mvn-repo/maven-repository/" } } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') compile 'com.android.support:appcompat-v7:23.0.1' compile files('src/main/jniLibs/scanditsdk-android-4.7.5.jar') compile files('src/main/jniLibs/httpclient-4.0.jar') compile 'com.journeyapps:zxing-android-embedded:3.0.3@aar' compile 'com.google.zxing:core:3.2.0' } And my Fragment.xml

Android - Barcode Scanning, Options? Zxing?

こ雲淡風輕ζ 提交于 2019-11-28 19:24:15
I want to create an application for Android that will be able to scan barcodes, get the information contained within the barcode and then be able to use that information in some way. I have no idea how to create a barcode scanner so I went Googling and it seems Zxing is the most commonly used way to implement a barcode scanner in an app. Some Links: http://code.google.com/p/zxing/ http://awalkingcity.com/blog/2008/08/25/qr-codes-made-easy-in-android/ Using ZXing to create an android barcode scanning app However the samples I found on zxing involved having to prompt the user to go to the market

Reading QRCode with Zxing in Java

两盒软妹~` 提交于 2019-11-28 18:53:11
Some questions about using Zxing... I write the following code to read barcode from an image: public class BarCodeDecode { /** * @param args */ public static void main(String[] args) { try { String tmpImgFile = "D:\\FormCode128.TIF"; Map<DecodeHintType,Object> tmpHintsMap = new EnumMap<DecodeHintType, Object>(DecodeHintType.class); tmpHintsMap.put(DecodeHintType.TRY_HARDER, Boolean.TRUE); tmpHintsMap.put(DecodeHintType.POSSIBLE_FORMATS, EnumSet.allOf(BarcodeFormat.class)); tmpHintsMap.put(DecodeHintType.PURE_BARCODE, Boolean.FALSE); File tmpFile = new File(tmpImgFile); String tmpRetString =

Xcode 4.6 zXing compile error after Xcode update (4H127)

烈酒焚心 提交于 2019-11-28 18:52:38
Different projects using ZXing have error after last Xcode update: Error messages are: private field 'cached_y_' is not used Private field 'bits_' is not used Private field 'cached_row_num_' is not used Private field 'dataHeight_' is not used Any compiler flag I have to set up? Just add this flag -Wno-unused-private-field under ZXingWidget target -> Build Settings -> Other Warning Flags. Click the + button and paste the flag, clean and build again. (No need to remove any other flag, just ignore unused private field warning) Here is a workaround to get it to compile. You have remove couple

Android Zxing change orientation to portrait

别说谁变了你拦得住时间么 提交于 2019-11-28 15:57:50
问题 I'm trying to rotate Zxing display after reading a few questions and posts about the issue. After following the instructions, the display did rotate, but the rectangle of the scanner is not positioned as it should (as can be seen on the image attached). This is what I have done: in CameraConfigurationManager: camera.setDisplayOrientation(90); in DecodeHandler.java byte[] rotatedData = new byte[data.length]; for (int y = 0; y < height; y++) { for (int x = 0; x < width; x++) rotatedData[x *

looking for best barcode scanner library, besides zxing [closed]

走远了吗. 提交于 2019-11-28 15:25:35
I am looking for some best barcode libraries on all platforms. I know zxing but wondering more libraries besides it. Any help is appreciated~ Jeff Lamarche's Cocoa Barcodes project for iPhone and iPad Zxing's barcode image process library Android barcode library ISBN & QR Barcode Scanning Mobile App for Libraries As nithin mention Barcode scanner libraries, one more I would like to add ZBar Barcode Library. http://zbar.sourceforge.net/ This also contains support for various platform. And it is Open Source. Scandit has a Barcode Scanner SDK that is available for Android, iOS and Phonegap. There

QR code reader for iPhone

偶尔善良 提交于 2019-11-28 15:18:09
I want to create QR code reader based application. Using which library, I can create my application ? Note: I searched in google. Always I am getting zxing . I downloaded the zxing project. But the problem is; I run the application. But it is reading only the Barcodes . There is no option to read QR code. Please tell me how to do this... Thanks in Advance. ZBarSDK is another option. A very capable library. UPDATE January 2014 Beginning in iOS7, AVCaptureDevice now includes the ability to read barcodes (of all kinds) and return a human readable value. If you're targeting iOS7+, this is the way

Zxing 2.2 import as a library project(not .jar) in eclipse

[亡魂溺海] 提交于 2019-11-28 10:35:41
I have downloaded the zxing 2.2 code from the below link https://code.google.com/p/zxing/downloads/list My requirement is to import the "core" project into eclipse and add few code into it. then mark it to be library project. I want to include this library project into barcode scanner sample app and use the barcode scanner app as library from my project. Solved prerequisties download latest zxing package. Process 1 create a java project in eclipse.and name it to something like ZxingCore. copy and paste complete src folder inside core folder. In case you need to edit any code, you can do it.