1# Startup Development
2
3
4## How do I obtain the system version of a device? (API 9)
5
6**Solution**
7
8You can obtain the system version of a device through the **osFullName** attribute of the [deviceInfo](../reference/apis-basic-services-kit/js-apis-device-info.md) object.
9
10**Sample Code**
11
12```
13import deviceInfo from '@ohos.deviceInfo'
14let v = deviceInfo.osFullName
15```
16
17
18## How do I obtain the UDID of a device? (API 9)
19
20**Solution**
21
22- Method 1: Run the **hdc shell bm get --udid** command.
23
24- Method 2: Obtain the UDID from the code. For details, see [udid](../reference/apis-basic-services-kit/js-apis-device-info.md).
25
26
27##  How do I obtain device information? (API 9)
28
29You can call **deviceInfo** to obtain device information, such as the device model.
30
31**Reference**
32
33[Device Information](../reference/apis-basic-services-kit/js-apis-device-info.md)
34
35
36## How do I prevent application development from being interrupted by screen saving? (API 9)
37
38**Solution**
39
40Run the **hdc shell "power-shell setmode 602"** command to turn off screen saving.
41