【发布时间】:2016-01-04 19:08:37
【问题描述】:
我正在尝试使用ZXing library 为谷歌眼镜开发条形码扫描仪(不要判断)。
扫描 QR 码可以正常工作,但我无法扫描任何一维条码。
这是我的代码:
Intent intent = new Intent(this, CaptureActivity.class);
//intent.putExtra("SCAN_MODE", "PRODUCT_MODE"); //doesn't work with or without this line
startActivityForResult(intent, SCAN_REQUEST);
使用 PlayStore 中的扫描仪进行扫描可以在我的手机上使用,但不能在玻璃上使用我的应用程序。
【问题讨论】:
标签: zxing google-glass barcode-scanner