发布v1.1.6-androidx
This commit is contained in:
19
README.md
19
README.md
@@ -9,7 +9,7 @@
|
|||||||
[](https://android-arsenal.com/api?level=16)
|
[](https://android-arsenal.com/api?level=16)
|
||||||
[](http://www.apache.org/licenses/LICENSE-2.0)
|
[](http://www.apache.org/licenses/LICENSE-2.0)
|
||||||
[](https://jenly1314.github.io/)
|
[](https://jenly1314.github.io/)
|
||||||
[](http://shang.qq.com/wpa/qunwpa?idkey=8fcc6a2f88552ea44b1411582c94fd124f7bb3ec227e2a400dbbfaad3dc2f5ad)
|
[](http://shang.qq.com/wpa/qunwpa?idkey=8fcc6a2f88552ea44b1.1.682c94fd124f7bb3ec227e2a400dbbfaad3dc2f5ad)
|
||||||
|
|
||||||
ZXingLite for Android 是ZXing的精简版,基于ZXing库优化扫码和生成二维码/条形码功能,扫码界面完全支持自定义,也可一行代码使用默认实现的扫码功能。总之你想要的都在这里。
|
ZXingLite for Android 是ZXing的精简版,基于ZXing库优化扫码和生成二维码/条形码功能,扫码界面完全支持自定义,也可一行代码使用默认实现的扫码功能。总之你想要的都在这里。
|
||||||
>简单如斯,你不试试? Come on~
|
>简单如斯,你不试试? Come on~
|
||||||
@@ -54,21 +54,21 @@ ZXingLite for Android 是ZXing的精简版,基于ZXing库优化扫码和生成
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.king.zxing</groupId>
|
<groupId>com.king.zxing</groupId>
|
||||||
<artifactId>zxing-lite</artifactId>
|
<artifactId>zxing-lite</artifactId>
|
||||||
<version>1.1.5</version>
|
<version>1.1.6</version>
|
||||||
<type>pom</type>
|
<type>pom</type>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
### Gradle:
|
### Gradle:
|
||||||
```gradle
|
```gradle
|
||||||
//AndroidX 版本
|
//AndroidX 版本
|
||||||
implementation 'com.king.zxing:zxing-lite:1.1.5-androidx'
|
implementation 'com.king.zxing:zxing-lite:1.1.6-androidx'
|
||||||
|
|
||||||
//Android 版本
|
//Android 版本
|
||||||
implementation 'com.king.zxing:zxing-lite:1.1.5'
|
implementation 'com.king.zxing:zxing-lite:1.1.6'
|
||||||
```
|
```
|
||||||
### Lvy:
|
### Lvy:
|
||||||
```lvy
|
```lvy
|
||||||
<dependency org='com.king.zxing' name='zxing-lite' rev='1.1.5'>
|
<dependency org='com.king.zxing' name='zxing-lite' rev='1.1.6'>
|
||||||
<artifact name='$AID' ext='pom'></artifact>
|
<artifact name='$AID' ext='pom'></artifact>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
@@ -165,6 +165,10 @@ api 'com.google.zxing:core:3.3.3'
|
|||||||
|
|
||||||
## 版本记录
|
## 版本记录
|
||||||
|
|
||||||
|
#### v1.1.6:2019-12-27
|
||||||
|
* 生成条形码/二维码时支持自定义配置颜色
|
||||||
|
* 支持识别反色码(增强识别率,默认不支持,需通过CaptureHelper.supportLuminanceInvert(true)开启)
|
||||||
|
|
||||||
#### v1.1.5:2019-12-16
|
#### v1.1.5:2019-12-16
|
||||||
* 优化Camera初始化相关策略,减少出现卡顿的可能性
|
* 优化Camera初始化相关策略,减少出现卡顿的可能性
|
||||||
|
|
||||||
@@ -182,7 +186,7 @@ api 'com.google.zxing:core:3.3.3'
|
|||||||
|
|
||||||
#### v1.1.1:2019-5-20
|
#### v1.1.1:2019-5-20
|
||||||
* 支持扫二维码过小时,自动缩放
|
* 支持扫二维码过小时,自动缩放
|
||||||
* 支持垂直条形码识别(增强条形码识别,默认不支持,需CaptureHelper.supportVerticalCode(true)开启)
|
* 支持识别垂直条形码(增强条形码识别,默认不支持,需通过CaptureHelper.supportVerticalCode(true)开启)
|
||||||
|
|
||||||
#### v1.1.0:2019-4-19
|
#### v1.1.0:2019-4-19
|
||||||
* 将扫码相关逻辑与界面分离,ZXingLite使用更容易扩展
|
* 将扫码相关逻辑与界面分离,ZXingLite使用更容易扩展
|
||||||
@@ -236,10 +240,11 @@ api 'com.google.zxing:core:3.3.3'
|
|||||||
|
|
||||||
Github: <a title="Github开源项目" href="https://github.com/jenly1314" target="_blank">jenly1314</a>
|
Github: <a title="Github开源项目" href="https://github.com/jenly1314" target="_blank">jenly1314</a>
|
||||||
|
|
||||||
加入QQ群: <a title="点击加入QQ群" href="http://shang.qq.com/wpa/qunwpa?idkey=8fcc6a2f88552ea44b1411582c94fd124f7bb3ec227e2a400dbbfaad3dc2f5ad" target="_blank">20867961</a>
|
加入QQ群: <a title="点击加入QQ群" href="http://shang.qq.com/wpa/qunwpa?idkey=8fcc6a2f88552ea44b1.1.682c94fd124f7bb3ec227e2a400dbbfaad3dc2f5ad" target="_blank">20867961</a>
|
||||||
<div>
|
<div>
|
||||||
<img src="https://jenly1314.github.io/image/jenly666.png">
|
<img src="https://jenly1314.github.io/image/jenly666.png">
|
||||||
<img src="https://jenly1314.github.io/image/qqgourp.png">
|
<img src="https://jenly1314.github.io/image/qqgourp.png">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@@ -1 +1 @@
|
|||||||
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":18,"versionName":"1.1.5-androidx","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
|
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":20,"versionName":"1.1.6-androidx","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]
|
||||||
@@ -64,6 +64,7 @@ public class CustomActivity extends AppCompatActivity implements OnCaptureCallba
|
|||||||
mCaptureHelper.vibrate(true)
|
mCaptureHelper.vibrate(true)
|
||||||
.fullScreenScan(true)//全屏扫码
|
.fullScreenScan(true)//全屏扫码
|
||||||
.supportVerticalCode(true)//支持扫垂直条码,建议有此需求时才使用。
|
.supportVerticalCode(true)//支持扫垂直条码,建议有此需求时才使用。
|
||||||
|
.supportLuminanceInvert(true)//是否支持识别反色码(黑白反色的码),增加识别率
|
||||||
.continuousScan(isContinuousScan);
|
.continuousScan(isContinuousScan);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -59,7 +59,8 @@ public class CustomCaptureActivity extends CaptureActivity {
|
|||||||
.frontLightMode(FrontLightMode.AUTO)//设置闪光灯模式
|
.frontLightMode(FrontLightMode.AUTO)//设置闪光灯模式
|
||||||
.tooDarkLux(45f)//设置光线太暗时,自动触发开启闪光灯的照度值
|
.tooDarkLux(45f)//设置光线太暗时,自动触发开启闪光灯的照度值
|
||||||
.brightEnoughLux(100f)//设置光线足够明亮时,自动触发关闭闪光灯的照度值
|
.brightEnoughLux(100f)//设置光线足够明亮时,自动触发关闭闪光灯的照度值
|
||||||
.continuousScan(isContinuousScan);//是否连扫
|
.continuousScan(isContinuousScan)//是否连扫
|
||||||
|
.supportLuminanceInvert(true);//是否支持识别反色码(黑白反色的码),增加识别率
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,6 @@
|
|||||||
*/
|
*/
|
||||||
package com.king.zxing;
|
package com.king.zxing;
|
||||||
|
|
||||||
import android.app.Activity;
|
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.view.MotionEvent;
|
import android.view.MotionEvent;
|
||||||
import android.view.SurfaceView;
|
import android.view.SurfaceView;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
//App
|
//App
|
||||||
def app_version = [:]
|
def app_version = [:]
|
||||||
app_version.versionCode = 18
|
app_version.versionCode = 20
|
||||||
app_version.versionName = "1.1.5-androidx"
|
app_version.versionName = "1.1.6-androidx"
|
||||||
ext.app_version = app_version
|
ext.app_version = app_version
|
||||||
|
|
||||||
//build version
|
//build version
|
||||||
|
|||||||
Reference in New Issue
Block a user