• 大小: 2.39MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-09-21
  • 语言: Java
  • 标签: Honeywell  扫描  

资源简介

1. apk为demo,可直接安装在EDA50上用于演示连续扫描及定时关闭扫描头功能。 1.1进入demo有3个button用于不同功能; 通过扫描硬件按键触发打开/关闭扫描头; 按键打开扫描头后,扫描到数据后间隔1S重新打开扫描头; 1.2Automatic Control 用于打开扫描头可作为连续扫描, 通过扫描硬件按键触发打开/关闭扫描头; 按键打开扫描头后,如不触发扫描事件,定时5S后自动关闭扫描头; 按键打开扫描头后,在5S内可通过扫描按键关闭扫描头; 按键打开扫描头后,如扫描到条码,立即关闭扫描头; 1.3Client Control 用于定时关闭扫描头 2. zip压缩包为以上功能demo 的sample code 2.1 调用sdk接口首先需要继承DataCollection.jar 2.2 连续扫描功能实现代码:AutomaticBarcodeActivity.java 2.3定时关闭扫描功能代码:ClientBarcodeActivity.java

资源截图

代码片段和文件信息

/**
 * Automatically generated file. DO NOT MODIFY
 */
package com.honeywell.barcodeexample;

public final class BuildConfig {
  public static final boolean DEBUG = Boolean.parseBoolean(“true“);
  public static final String APPLICATION_ID = “com.honeywell.barcodeexample“;
  public static final String BUILD_TYPE = “debug“;
  public static final String FLAVOR = ““;
  public static final int VERSION_CODE = 1;
  public static final String VERSION_NAME = “1.0“;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2018-05-03 09:52  ContinuousScanning\
     目录           0  2018-05-03 09:52  ContinuousScanning\BarcodeExample_ContinuousScanning\
     目录           0  2018-05-03 09:52  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\
     目录           0  2018-05-03 09:52  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\4.1\
     目录           0  2018-05-03 09:52  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\4.1\fileChanges\
     文件           1  2018-01-04 18:42  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\4.1\fileChanges\last-build.bin
     目录           0  2018-05-03 09:52  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\4.1\fileContent\
     文件          17  2018-01-04 18:42  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\4.1\fileContent\fileContent.lock
     目录           0  2018-05-03 09:52  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\4.1\fileHashes\
     文件       38947  2018-01-04 18:42  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\4.1\fileHashes\fileHashes.bin
     文件          17  2018-01-04 18:42  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\4.1\fileHashes\fileHashes.lock
     文件       18565  2017-12-26 08:53  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\4.1\fileHashes\resourceHashesCache.bin
     目录           0  2018-05-03 09:52  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\4.1\javaCompile\
     文件       99254  2018-01-04 18:41  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\4.1\javaCompile\classAnalysis.bin
     文件       23884  2017-12-26 08:53  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\4.1\javaCompile\jarAnalysis.bin
     文件          17  2018-01-04 18:41  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\4.1\javaCompile\javaCompile.lock
     文件       76020  2018-01-04 18:41  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\4.1\javaCompile\taskHistory.bin
     文件       18641  2018-01-04 18:41  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\4.1\javaCompile\taskJars.bin
     目录           0  2018-05-03 09:52  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\4.1\taskHistory\
     文件      168801  2018-01-04 18:42  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\4.1\taskHistory\fileSnapshots.bin
     文件       67999  2018-01-04 18:42  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\4.1\taskHistory\taskHistory.bin
     文件          17  2018-01-04 18:42  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\4.1\taskHistory\taskHistory.lock
     目录           0  2018-05-03 09:52  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\buildOutputCleanup\
     文件           0  2017-12-26 08:52  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\buildOutputCleanup\built.bin
     文件          51  2017-12-26 08:52  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\buildOutputCleanup\cache.properties
     文件           2  2018-01-04 18:42  ContinuousScanning\BarcodeExample_ContinuousScanning\.gradle\buildOutputCleanup\cache.properties.lock
     文件         887  2018-01-04 09:53  ContinuousScanning\BarcodeExample_ContinuousScanning\BarcodeExample_ContinuousScanning.iml
     目录           0  2018-05-03 09:52  ContinuousScanning\BarcodeExample_ContinuousScanning\app\
     文件        8921  2018-01-04 09:53  ContinuousScanning\BarcodeExample_ContinuousScanning\app\app.iml
     目录           0  2018-05-03 09:52  ContinuousScanning\BarcodeExample_ContinuousScanning\app\build\
     目录           0  2018-05-03 09:52  ContinuousScanning\BarcodeExample_ContinuousScanning\app\build\generated\
............此处省略491个文件信息

评论

共有 条评论