You can add these codes for ImageScanner
scanner.setConfig(0, Config.ENABLE, 0); //Disable all the Symbols scanner.setConfig(Symbol.QRCODE, Config.ENABLE, 1); //Only QRCODE is enable
scanner.setConfig(0, Config.ENABLE, 0); // scanner.setConfig(Symbol.QRCODE, Config.ENABLE, 1); scanner.setConfig(Symbol.CODE128, Config.ENABLE, 1); scanner.setConfig(Symbol.EAN13, Config.ENABLE, 1); scanner.setConfig(Symbol.UPCA, Config.ENABLE, 1);
时间: 2024-12-29 01:52:38