Here is a sample code of simple **Barcode Scanner** app.
Barcode scanner library is attached with this project you just have send an startActivityForResult to open Scanner like this.
Intent intent = new Intent(getApplicationContext(),CaptureActivity.class);
startActivityForResult(intent, BAR_SCAN);
download the zip and add this piece of code in your app. Hope you will find it helpful.
0 Comment(s)