作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
使用 ZXing(在 Android 上),如果您像这样启动 PDF417 条码扫描...
List<String> oDesiredFormats = Arrays.asList("PDF_417".split(","));
IntentIntegrator integrator = new IntentIntegrator(this);
integrator.initiateScan(oDesiredFormats);
... 然后您像这样启动“所有代码”(除了 PDF417 和其他一些)条形码扫描...
IntentIntegrator integrator = new IntentIntegrator(this);
integrator.initiateScan();
...那么您如何启动一个单一的条形码扫描来识别两者(所有标准代码和 PDF417)?提前致谢!
最佳答案
如果您不指定它,它将默认扫描用户配置的任何内容。默认情况下,这包括大多数格式,但不包括 PDF417。所以,我认为您必须在此处列举所有格式。这并不难,但你真的想要吗?通常你有一个最多扫描一些相关格式的用例。
关于android - ZXing PDF417 + ALL_CODE_TYPES,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22567698/
使用 ZXing(在 Android 上),如果您像这样启动 PDF417 条码扫描... List oDesiredFormats = Arrays.asList("PDF_417".split("
我是一名优秀的程序员,十分优秀!