@Override
    protected void onResume() {
        super.onResume();

        barcodeView.resume();
    }
This sample performs continuous scanning, displaying the barcode and source image whenever
a barcode is scanned.
sample/src/main/java/example/zxing/ContinuousCaptureActivity.java