Pass extra data with zxing scanning intent
问题 I'm integrating a barcode scanner using https://github.com/zxing. I would like to pass some additional data - uuid below - along with the barcode. Both uuid1 and uuid2 below yields null . WHat am I missing? public void startScanner(String uuid){ IntentIntegrator integrator = new IntentIntegrator(this); integrator.setDesiredBarcodeFormats(IntentIntegrator.PRODUCT_CODE_TYPES); integrator.setPrompt(""); integrator.setCameraId(0); integrator.setBeepEnabled(false); Intent intent = integrator