语言

Menu
Sites
Language
Device Unique Id
Hi, For my application i need to get a unique ID of the device to make stats. So I found this **** String key(L"http://tizen.org/system/duid"); String deviceUniqueId; SystemInfo::GetValue(key, deviceUniqueId); AppLog("Device unique ID : \"%S\" ", deviceUniqueId.GetPointer()); **** And the result is "Device unique ID : "2.2ERROR" " I tried on another phone but it give me the same result Is anyone having the same issue or is it just me ? If you have another way to get a unique ID of the device, i'll take it. Thanks,

响应

2 回复
muditha murthy
duid is generated with the help of device IMEI number. Test devices, doesn't have the IMEI set, in commercial devices you will be getting the proper duid as it would be having an IMEI number.
Oberyn Martell
Ok Thanks for your quick answer