Questions tagged [zxing]

ZXing (pronounced "zebra crossing") is an open-source, multi-format 1D/2D barcode image processing library implemented in Java, with ports to other languages. Its focus is on using the built-in camera on mobile phones to scan and decode barcodes on the device, without communicating with a server, though the library also supports use on a server.

Questions with this tag concern the open-source barcode encoding and decoding library ZXing.

2561 questions
166
votes
7 answers

Using ZXing to create an Android barcode scanning app

I've been searching for how to add a barcode scanner to my app. Are there any examples or how can I do this easily?
wajiw
  • 12,239
  • 17
  • 54
  • 73
149
votes
17 answers

Integrating the ZXing library directly into my Android application

I'm writing this in mere desperation :) I've been assigned to make a standalone barcode scanner (as a proof of concept) to an Android 1.6 phone. For this i've discovered the ZXing library. I've googled, read related topics here on StackOverflow used…
AppDev
  • 2,909
  • 4
  • 17
  • 15
114
votes
9 answers

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

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…
kramer65
  • 50,427
  • 120
  • 308
  • 488
97
votes
5 answers

Integrate ZXing in Android Studio

I'll start explaining all the steps I have done and in the end what is the problem. Download ZXing-2.2 https://code.google.com/p/zxing/downloads/list Extrac all in zxing-2.2. Download and install Apache Ant…
Victor Company
  • 1,177
  • 1
  • 9
  • 9
57
votes
7 answers

Embed Zxing library without using Barcode Scanner app

What is the preferred way to embed the zxing library to provide scanning without having the Barcode Scanner app installed? I am looking to embed it in android without having to prompt the user for any extra installs. (Similar to the way the iPhone…
Joey Schluchter
  • 2,522
  • 3
  • 22
  • 26
53
votes
5 answers

looking for best barcode scanner library, besides zxing

I am looking for some best barcode libraries on all platforms. I know zxing but wondering more libraries besides it. Any help is appreciated~
Mickey Shine
  • 12,187
  • 25
  • 96
  • 148
52
votes
5 answers

Reduce border width on QR Codes generated by ZXing?

I'm using com.google.zxing.qrcode.QRCodeWriter to encode data and com.google.zxing.client.j2se.MatrixToImageWriter to generate the QR Code image. On a 400x400 image, there is about a 52 pixel wide border around the code. I'd like this border to be…
James Sumners
  • 14,485
  • 10
  • 59
  • 77
49
votes
9 answers

Android Zxing change orientation to portrait

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…
SuperFrog
  • 7,631
  • 9
  • 51
  • 81
47
votes
3 answers

Alternative to zxing QR reader library for Java/Android?

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 will be great. but I'm also willing to pay to get a library that's easy in customization and to save time. thank you.
a fair player
  • 11,530
  • 9
  • 46
  • 48
46
votes
4 answers

QR code reader for iPhone

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…
jfalexvijay
  • 3,681
  • 7
  • 42
  • 68
42
votes
9 answers

Zxing Camera in Portrait mode on Android

I want to show portrait orientation on Zxing's camera. How can this be done?
Roy Lee
  • 10,572
  • 13
  • 60
  • 84
38
votes
6 answers

QR Code encoding and decoding using zxing

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…
LandonSchropp
  • 10,084
  • 22
  • 86
  • 149
37
votes
7 answers

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

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…
Krishnabhadra
  • 34,169
  • 30
  • 118
  • 167
34
votes
8 answers

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

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() { …
stackex
  • 825
  • 2
  • 10
  • 13
32
votes
5 answers

Android Using ZXing Generate QR Code

I was having some problem when trying to generate QR code in Android Programming. Here is the Tutorial I followed. When my generate button on click, I am calling this method: private void generateQR(){ String qrInputText = "test"; //Find…
user2531590
1
2 3
99 100