Skip to content

Commit

Permalink
修改README
Browse files Browse the repository at this point in the history
  • Loading branch information
allen2015555 committed Oct 18, 2018
1 parent ea20c00 commit 172b6f0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#### 2.在Module目录下的build.gradle中添加依赖
``` gradle
dependencies {
compile 'com.github.maning0303:MNZXingCode:V1.1.6'
compile 'com.github.maning0303:MNZXingCode:V1.1.7'
}
```

Expand Down Expand Up @@ -99,9 +99,17 @@
3:生成二维码:
Bitmap qrImage = ZXingUtils.createQRImage("xxxxxx");
Bitmap qrImage = ZXingUtils.createQRCodeWithLogo("xxxxxx", logoBitmap);

4:解析图片中的二维码:
String code = ZXingUtils.syncDecodeQRCode(String picturePath);
String code = ZXingUtils.syncDecodeQRCode(Bitmap bitmap);
```

## 版本记录:
v1.1.7:
1.图片识别二维码对图片进行压缩处理,防止OOM
2.优化界面显示
v1.1.6:
1.修复8.0-Only fullscreen opaque activities can request orientation错误
2.优化启动退出动画
Expand Down

0 comments on commit 172b6f0

Please sign in to comment.