Asking BlackBerry PIN to use inside the app
Is there anyway to access the BlackBerry PIN inside my app? I would like to have a way to give certain devices unique access to certain things. If the P开发者_如何学编程IN will not work, is there some other sort of unique identifier that would work and I can access?
DeviceInfo.getDeviceId()
in the net.rim.device.api.system
package will return the unique Blackberry PIN of the device as an int
. However, keep in mind the simulator will return 0x2100000a
by default unless you change it to something else.
Have you took a look in the API
DeviceInfo.getDeviceId()
精彩评论