文件最后提交记录最后更新时间
usbManager模型转为Stage Signed-off-by: Administrator <zhuxun9@huawei.com> 3 年前
!2314 sample问题修复 * sample问题修复,USBManager,QRCodeScan,Call,setting,jscomponentCollection 3 年前
Issue: #I6DWU6 Description: BasicFeature模块,目录结构迁移 Sig: SIG_Sample Feature or Bugfix: Bugfix Binary Source: No Signed-off-by: hongshengquan <hongshengquan3@huawei.com> 3 年前
description: Add build-profile.json5 ! Sig: SIG_Sample Feature or Bugfix: Bugfix Binary Source: No Signed-off-by: taobohao <taobohao@huawei.com> 3 年前
!2255 【0230】code目录下代码适配 part.1+2+3 * code目录下代码适配 part.3 * code目录下代码适配 part.2 * code目录下代码适配 part.1 3 年前
!2255 【0230】code目录下代码适配 part.1+2+3 * code目录下代码适配 part.3 * code目录下代码适配 part.2 * code目录下代码适配 part.1 3 年前
!2255 【0230】code目录下代码适配 part.1+2+3 * code目录下代码适配 part.3 * code目录下代码适配 part.2 * code目录下代码适配 part.1 3 年前
usbManager模型转为Stage Signed-off-by: Administrator <zhuxun9@huawei.com> 3 年前
usbManager模型转为Stage Signed-off-by: Administrator <zhuxun9@huawei.com> 3 年前
README.md

USB management

Introduction

This example demonstrates the use of USB device management, including USB device insertion and removal status monitoring and USB device information display. The results are as follows:

Related Conceptions

  1. Subscribe to USB Listening Events : Obtain the interface usage status by subscribing to the USB insertion and removal listening events.

  2. Get USB Device List: Gets the list of plugged in USB devices.

Not involved

Usage

  1. Open the USB Listening switch, and the interface pops up the prompt of "Start Listening...".

  2. Plug in the device, the interface will have a "USB plugged in" prompt, the device list will show the plugged in device. If the list is not updated in time, you can manually refresh the drop-down list.

  3. Click on the device, the pop-up box will display the specific information of the USB device, click the OK button to return to the main page.

  4. Unplug the USB device, the interface will have a "removed device" prompt, and the device list will remove the device model. If the list is not updated in time, you can manually refresh the drop-down list.

Constraints and Restrictions

  1. This sample is only supported to run on standard systems.

  2. This sample requires DevEco Studio 3.1 Canary1 (Build Version: 3.1.0.100) to compile and run.