protected void returnResult(BarcodeResult rawResult) {
        Intent intent = resultIntent(rawResult, getBarcodeImagePath(rawResult));
        activity.setResult(Activity.RESULT_OK, intent);
        closeAndFinish();
    }
Save the barcode image to a temporary file stored in the application's cache, and return its path.
Only does so if returnBarcodeImagePath is enabled.

@param rawResult the BarcodeResult, must not be null
@return the path or null
zxing-android-embedded/src/com/journeyapps/barcodescanner/CaptureManager.java