Questions tagged [barcode]

This tag should be used for questions on how to generate, decode, or use barcodes in programs.

A barcode is an optical machine-readable representation of data, which shows data about the object to which it attaches.Originally, barcodes represented data by varying the widths and spacings of parallel lines, and may be referred to as linear or 1 dimensional (1D). Later they evolved into rectangles, dots, hexagons and other geometric patterns in 2 dimensions (2D). Although 2D systems use a variety of symbols, they are generally referred to as barcodes as well. Barcodes originally were scanned by special optical scanners called barcode readers, scanners and interpretive software are available on devices including desktop printers and smartphones.

(source http://en.wikipedia.org/wiki/Barcode)

enter image description here

3063 questions
21
votes
3 answers

Android barcode scanner integration with web page

I have been researching all morning about integrating an android barcode scanner app into a web page, but haven't found exactly what I need to know. I want to have a web page that the user can fill in text fields by using an android barcode…
Geren White
  • 270
  • 1
  • 2
  • 11
21
votes
4 answers

Do the Amazon web service APIs support barcode/UPC queries?

I skimmed through their documentation and found it a bit overwhelming at first. I know you can search for items by entering a UPC (the number below a 1D barcode), but I couldn't find a word about it in the API. What I want to do is perform a product…
mxk
  • 43,056
  • 28
  • 105
  • 132
20
votes
4 answers

ZXing how to scan QR-Code AND 1D barcode?

I just imported the ZXing library in my app, I know how to set up the putExtra function to scan QR-Code barcode: INTENT = new Intent("com.google.zxing.client.android.SCAN"); INTENT.putExtra("SCAN_MODE",…
MataMix
  • 3,276
  • 10
  • 39
  • 58
20
votes
9 answers

Any Good Resources For Getting Started With Barcode Programming?

I want to be able to store product information in the database for a web application, I decided it would be good to use the barcode as a good product identifier. Right now I just want to be able to store the numerical representation of the code in…
Laz
  • 3,474
  • 9
  • 33
  • 46
20
votes
3 answers

Generate barcode from text and convert it to base64

Does someone knows a tool to generate barcode image (preferably code 39) from a string and converts it to base64 string, something to use like this: var text = "11220"; // text to convert var base64Str = textToBase64Barcode(text); // function to…
lennin92
  • 493
  • 2
  • 8
  • 17
19
votes
1 answer

What is the maximum length of a Code 128 barcode?

I need to create a Code 128 barcode with a maximum of 44 characters. What is the maximum number of characters supported by the Code 128 barcode format? I came to know that Code 128 can encode all 128 characters of ASCII, but I cannot determine the…
Divya
  • 555
  • 1
  • 4
  • 15
18
votes
11 answers

How to ask runtime permissions for Camera in Android , Runtime storage permissions

I am doing an application to scan barcodes on a button click and it was working fine up to Lollipop versions. When I came to Marshmallow it stopped working. This is the error: camerabase an error occurred while connecting to camera 0 It forces me…
17
votes
4 answers

How to create barcode scanner (Android)?

Can someone tell me if creating barcode scanner app (for Android) is difficult? Is OpenCV library good start? Where can I find algorithm which clearly explains how to read barcodes? I will appreciate all good materials about this topic! Thanks in…
Ziem
  • 6,579
  • 8
  • 53
  • 86
17
votes
8 answers

How to validate a EAN / GTIN barcode in JavaScript

How can I check if a string is a valid EAN / GTIN barcode in JavaScript? I need checks for EAN8, EAN12, EAN13, EAN14, EAN18 and also GTIN12, GTIN13, GTIN14.
dom
  • 11,894
  • 10
  • 51
  • 74
16
votes
2 answers

QR code, can be generated with R?

Can QR codes be generated in R? Is there is a package that allows it?
user1216772
  • 161
  • 1
  • 3
16
votes
7 answers

Google Vision barcode library not found

I'm trying to use the new feature in Google Play Services (Vision) to add QR code scanning to my application. But when I run my app I get this: I/Vision﹕ Supported ABIS: [armeabi-v7a, armeabi] D/Vision﹕ Library not found:…
16
votes
1 answer

How to read data from bluetooth barcode scanner Symbol CS3070 to Android Device

In my project i have to read barcodes using barcode scanner Symbol CS3070 through bluetooth. i.e; i have to establish a connection between android device and barcode scanner through bluetooth. Can any one tell me how to read values from barcode…
Android84
  • 173
  • 1
  • 1
  • 6
16
votes
9 answers

com.google.zxing.NotFoundException exception comes when core java program executed?

I have a jpeg file which has 2D bar code. Image resolution is 1593X1212. I am using xing library to decode this barcode from image. I got following code on net. import java.awt.image.BufferedImage; import java.io.File; import…
Param-Ganak
  • 5,787
  • 17
  • 50
  • 62
15
votes
5 answers

Phonegap Barcode Scanner

I'm looking to integrate some sort of barcode scanner into a phonegap application. I just need to find out whether it is possible on all of the major platforms (iOS/Android/Blackberry/WP7)? EDIT: By barcode scanning, I mean scanning a barcode…
David Archer
  • 2,008
  • 4
  • 26
  • 31
15
votes
2 answers

google.zxing barcode generator in iReport

I want put a barcode in my page and can preview it. The barcode generator is google.zxing and my reporting tool is iReport. But i dont know, how to configure Image Expression and Expression Class of an image in iReport.
masoud
  • 55,379
  • 16
  • 141
  • 208