Barcode QRcode scan
03-06-2016
ZBar is open source java API to scan Barcode and QRcode easily.Here are steps how it can be done in eclipse.
Steps:
2. Open eclipse and create new java project.Make sure you use jdk 1.7 32 bit otherwise sometime it may give problem.
Fig. Creating new project
3. Now right click on project Build path -> Configure Build path. Choose libraries. Click on add external jar files. Select dsj.jar and JNative.jar files which you can download from above given link.
4. Right click on src and create package code. Add 2 files ZBar.java and QRReader.java provided to you.
5. Now add all remaining files in project.You can drag and drop files on to project.
5. Now run QRReader.java file.Here is output.