public void stopDecoding() {
        this.decodeMode = DecodeMode.NONE;
        this.callback = null;
        stopDecoderThread();
    }
Stop decoding, but do not stop the preview.
zxing-android-embedded/src/com/journeyapps/barcodescanner/BarcodeView.java