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 PIN 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.