Android ZXing Barcode Scanner - Android App Source Code
Android library projects that provides easy to use and extensible Barcode Scanner views based on ZXing and ZBar.
Add the following dependency to your build.gradle file.
dd camera permission to your AndroidManifest.xml file:
<uses-permission android:name="android.permission.CAMERA" />