2.7 海康威视 mv-idp5204 适配广播模式;和之前的idp5102厂家code不一样

This commit is contained in:
2025-06-20 17:23:29 +08:00
parent 1e3c32eb2e
commit d949619023
3 changed files with 5 additions and 2 deletions

View File

@ -11,7 +11,7 @@ android {
minSdk 28
targetSdk 28
versionCode 1
versionName "2.6"
versionName "2.7"
// 1.0 IDATA广播模式处理
// 1.1 霍尼韦尔的监听修改扫描网站二维码跳出程序监听失效调整、斑马PDA广播模式设置
@ -41,6 +41,7 @@ android {
// 2.6 1、打开程序的时候清空缓存为了程序更新的时候不被缓存影响不用手动清除、出现了用户手动清除的时候吧存储空间清除了
// 2、判断是否初始化成功(webview成功)如果已经加载完毕那么apk不在拦截调用js的方法让BS进行处理提示
// 3、根据官方文档将code的判断进行修改添加了一个网络错误的页面进行提示(并且添加了一个重新加载的按钮执行webview重新加载)
// 2.7 海康威视 mv-idp5204 适配广播模式和之前的idp5102厂家code不一样 宿州市立医院-李德
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
ndk {
abiFilters 'armeabi-v7a'

View File

@ -25,7 +25,8 @@ public enum BrandEnum {
ZEBRA_TECHNOLOGIES("斑马TP26CK", "zebra technologies"),
SEUIC("东集", "seuic"),
ALPS("阿尔卑斯", "alps"),
HKWS("海康威视", "mv-idp5102");
HKWS("海康威视", "mv-idp5102"),
HKWS2("海康威视", "droi"); // mv-idp5204 宿州市立医院
private String name;
private String code;

View File

@ -169,6 +169,7 @@ public class MainActivity extends AppCompatActivity implements ResultListener{
adapter = new UrovoAdapter(this, this);
break;
case HKWS:
case HKWS2:
adapter = new HkwsAdapter(this, this);
break;
case NEW_LAND: