AndroidStudio中通过依赖使用zxing扫一扫简单使用
1、在module app中的build.gradle中加入依赖
compile 'com.journeyapps:zxing-android-embedded:3.5.0'
2、设置属性
在点击事件中初始化
IntentIntegrator integrator = new IntentIntegrator(MainActivity.this);
integrator.initia
原创
2017-06-08 16:46:09 ·
8532 阅读 ·
7 评论