Smartphone DeviceId
-
15. května 2005 11:37hi all,
I am writing a function to retrieve the Device ID of a smartphone.
But i don't have the real smartphone. Can I use smartphone emulator to test this application (ie will samartphone emulator support this deviceID)?
Regards,
Rajesh
Všechny reakce
-
16. května 2005 4:22
The emulators generally don't support device ids, I haven't tried this with the new emulator but I suspect you'll either get an error returned or an empty buffer. Another problem you might encounter is on most Smartphone devices retrieving the device id requires a signed application since this api is priviledged. If your target device is Windows Mobile 5.0 you can use the new GetDeviceUniqueID API call which doesn't have this restriction.
Peter -
24. května 2005 21:10Peter is correct. The Device Emulator images currently do support the DEVICEID IOCTL or the GetDeviceId method.
-
28. června 2005 21:31Is there an option to change the device id of the emulator?
Thx
Patrick -
1. července 2005 5:47
No there is not.
Thanks,
Vladimir