BlackBerry Forums Support Community
              

Closed Thread
 
LinkBack Thread Tools
Old 07-16-2009, 11:33 PM   #1 (permalink)
New Member
 
Join Date: Jul 2009
Model: 8800
PIN: N/A
Carrier: vodafone
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to retrive the BB PIN (8 digit Hexadecimal)

Please Login to Remove!

Hi, Thanks in advance

Can some help in sorting out how to retrieve the PIN (8 digit Hexadecimal number) which is available in Options/Status/PIN -> of a particular device on which my application is running through java.

and i want to append this data to external URL and same in my DB.

presenty i am using DeviceInfo.getDeviceId() which is returning some thing like this "553648138" but this is not what i require i require "210000A" some thing like this.

Last edited by puneethkhanna : 07-16-2009 at 11:54 PM.
Offline  
Old 07-17-2009, 01:51 AM   #2 (permalink)
New Member
 
Join Date: Jul 2009
Model: 8800
PIN: N/A
Carrier: vodafone
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi guys .. i got the result .. this may help for any of new BB bees like me

by using the DeviceInfo.getDeviceId() we will be getting some thing like this "553648138"

Integer.toHexString(DeviceInfo.getDeviceId() or Use method toHexString() of Integer class we will be getting PIN which we want ...
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

721-20 Repair Bonnet For Categories 1/2"-1" 720A Pressure Vacuum Breaker
$22.99
721-20 Repair Bonnet For Categories 1/2913036K01 Vacuum Bags For 9-55-13 9-55-13PE, 3-Pack
$20.99
913036K01 Vacuum Bags For 9-55-13 9-55-13PE, 3-Pack pictureiH1800 SYSTEM Edwards A533-25-908 Dry Vacuum Pump 1 Hour Refurbished
$10009.17
iH1800 SYSTEM Edwards A533-25-908 Dry Vacuum Pump 1 Hour Refurbished pictureBreast Enhancement Lymphatic Drainage Vacuum Massage Skin Rejuvenation Removal
$228.0
Breast Enhancement Lymphatic Drainage Vacuum Massage Skin Rejuvenation Removal pictureVarian MOD 951-5091 Valve
$249.99
Varian MOD 951-5091 Valve picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.