02-26-2013 06:48 PM
I've an app that I've ported over to BB10 and it runs great. My app however relies on a unique identifier which I can get on Android, however, I want to be able to get the UUID from my Z10.
I looked online, and in order for a native BB10 app to get that, it must look into blackberry.identity.uuid and must have the following permissions.
So is there any way at all I can get the UUID of the Z10 from my Android-ported app?
02-26-2013 06:57 PM
I apparently had the answer all along, I just didn't convert hex to decimal... also, the PIN number is somewhat longer than what Z10 claims it is.
TelephonyManager tm = (TelephonyManager)getBaseContext().getSystemServic
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
The decimal value of the Z10 PIN is 9 digits long, call it PIN.
Whereas the app returns to me 00000000000<PIN><plus an extra 2 digits>
What is the deal with the extra 2 digits at the end?