jdk11、gradle7.3,霍尼维尔EDA56,安卓12

This commit is contained in:
wujie
2023-06-13 14:01:07 +08:00
parent e2a34d76a6
commit 0a19e1f587
5 changed files with 69 additions and 10 deletions

View File

@ -87,8 +87,13 @@ public class MainActivity extends AppCompatActivity implements ResultListener{
adapter = new AlpsAdapter(this, this);
break;
case HONEY_WELL_EDA50P:
// 51、56都是同一个code
case HONEY_WELL_EDA51:
adapter = new HoneywellAdapter(this, this);
if ("eda56".equals(Build.MODEL.toLowerCase())) {
adapter = new HoneywellEda56Adapter(this, this);
}else {
adapter = new HoneywellAdapter(this, this);
}
break;
case ZEBRA_TECHNOLOGIES:
adapter = new ZebraAdapter(this, this);