2.17 支持原生相机 支持压缩+水印时间,默认压缩不默认添加时间;支持霍尼韦尔eda52服务扫描

This commit is contained in:
yao-1212
2026-03-18 11:07:58 +08:00
parent f91790d046
commit 2f8f958a6a
4 changed files with 238 additions and 36 deletions

View File

@ -98,14 +98,7 @@ public class HoneywellAdapter implements Adapter {
public void openContinueScan(){
if("eda50p".equals(Build.MODEL.toLowerCase())){ // 扫描正常
intent = new Intent(context, ScanServiceEDA50P.class);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
context.getApplicationContext().startForegroundService(intent);
}else {
context.getApplicationContext().startService(intent);
}
}else if("eda51".equals(Build.MODEL.toLowerCase())){ // 扫描正常
if("eda50p".equals(Build.MODEL.toLowerCase()) || "eda51".equals(Build.MODEL.toLowerCase()) || "eda52".equals(Build.MODEL.toLowerCase())){ // 扫描正常
intent = new Intent(context, ScanServiceEDA50P.class);
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
context.getApplicationContext().startForegroundService(intent);