How to read barcodes with the camera on Android?

peter.o picture peter.o · Dec 14, 2010 · Viewed 104.2k times · Source

I want my application to recognize barcodes taken by camera. Is it possible using Android SDK?

Something like this: Barcode Scanner

Answer

Nathan Schwermann picture Nathan Schwermann · Dec 14, 2010

It's not built into the SDK, but you can use the Zxing library. It's free, open source, and Apache-licensed.

The 2016 recommendation is to use the Barcode API, which also works offline.