get Pin using getDeviceId()
Im using the next code to get the BB PIN:
int pin = DeviceInfo.getDeviceId();
textField1 = new TextField("PIN", Integer.toString(pin), 120, TextField.ANY);
apparently, I obtain the PIN, but the PIN that the funtion back to me is wrong, is not the original PIN....What Im doing wrong? something missing??
I checked already the next link of this forum:
I hope your orientation. thanks
Using Integer.toHexString(pin) instead of Integer.toString(pin) would make it look like the PIN number in the Status screen.
I replaced Using Integer.toHexString(pin) for Integer.toHexString(pin), and the result was good... thanks a lot !!
|All times are GMT -5. The time now is 11:09 AM.|
Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.