# ScanGunDemo **Repository Path**: dove_gs/ScanGunDemo ## Basic Information - **Project Name**: ScanGunDemo - **Description**: android扫码枪实例 判断key的事件 扫码枪实际上是输入设备相当于键盘 通过Activity事件拦截来判断输入的数据 EditText获取焦点时要想不显示输入的数据 则要将inputType设置为number因为扫码枪输入事件最后都会加个enter键 暂时的问题EditText获取焦点时会自动显示扫描结果,如果结果不是纯数字 则会出现显示错误 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2019-06-21 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README No README documentation available for this project.