目录

App Integration

Sample code: huawei-DVEngine-android-demo.zip

The following shows how to use DV Engine to control the display, microphone, speaker, camera, sensor, and vibration capabilities of virtualized devices.

The following examples show how to use DV Engine to control the sensor, vibration capability, and notification push capability of the virtualized device.

Sensor:

Vibrator:

Notification:

To run the sample code APK, apply for an app ID according to the process in Preparations, and replace the value of appid in the AndriodManifest.xml file of the sample code project.