Android; QRcode and barcode reader with zxing

Barcode ReaderIf you did any research on reading barcode and QRcode with Android then you must have seen zxing library which is opensource. The library does not simply read barcodes but also covers a lot of things, like which camera or layout we will use for capturing.

So I made a simple android application using zxing, my application is a  barcode reader, It just reads the barcode or QRcode and writes the data to the screen.

As you can see,  after creating an instance from IntentIntegrator. We just need to call initiateScan method and then boom, scaning starts!

After reading a barcode we can parse the result at “onActivityResult” like this

And you can find my android application’s codes here.

One thought on “Android; QRcode and barcode reader with zxing

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.