Hello,
We looked into your datacapture sample code , but this block of code doesn't work. Particularly, qr code and upc code can still be scanned. We wanna disable specific decoder programmatically. Why doesn't this kinda configuration work? What is the solution to this? Thanks
// Main bundle properties Bundle profileConfig = new Bundle(); profileConfig.putString("PROFILE_NAME", EXTRA_PROFILENAME); profileConfig.putString("PROFILE_ENABLED", "true"); profileConfig.putString("CONFIG_MODE", "UPDATE"); // Update specified settings in profile // PLUGIN_CONFIG bundle properties Bundle barcodeConfig = new Bundle(); barcodeConfig.putString("PLUGIN_NAME", "BARCODE"); barcodeConfig.putString("RESET_CONFIG", "true"); // PARAM_LIST bundle properties Bundle barcodeProps = new Bundle(); barcodeProps.putString("scanner_selection", "auto"); barcodeProps.putString("scanner_input_enabled", "true"); barcodeProps.putString("decoder_code128", "false"); barcodeProps.putString("decoder_code39", "false"); barcodeProps.putString("decoder_ean13", "false"); barcodeProps.putString("decoder_upca", "false"); barcodeProps.putString("decoder_qrcode", "false"); barcodeProps.putString("decoder_gs1_qrcode", "false");
1 Replies
Hi,
Which profile are you modifying in this code? If it is a custom profile, make sure it is associated with your application.
Thanks,
James