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





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