Device Information

Introduction

In this sample, you can obtain the device information, system attributes and battery information through the deviceInfo, systemParameter, and batteryInfo APIs.

Usage

Touch a button to view the respective information.

Constraints

This sample can only be run on standard-system devices.