Brief Introduction
The recent widget project used a camera to process barcodes, and Zhang Shi recommended zxing, a source project, and did a simple research.
Zxing is an open source Java class Library for parsing 1d/2d barcodes in multiple formats. The goal is to decode the QR code, Data Matrix, UPC 1D Barcode. It provides clients under a variety of platforms including: J2ME, J2SE, and Android.
Currently, zxing mainly supports the following barcodes:
• Upc-a and UPC-E
• EAN-8 and EAN-13
• Code 39
• Code 128
• QR Code
•data Matrix (' alpha ' quality)
•itf
First of all, we can see that the entire application is divided into components after downloading the package from the http://code.google.com/p/zxing/to the Zxing application package. As follows:
1.core: Core package, is the main component part of the whole application. Mainly used for testing and some demo code, mostly for decoding test.
2.javame: Customized client Tools for Javame.
3.javase: Customized client Tools for the PC side. There is a GUI-form decoder code
4.android: Customized client Tools for the Android side. system code, more content, need to introduce the Android SDK.
The 5.androidtest:android test application, which has an example of using this application in other programs.