BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 05-10-2007, 03:40 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2007
Model: 8707v
Carrier: c
Posts: 20
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Retrieve the PIN number

Please Login to Remove!

Hi,
I want to retrieve the pin number from Pearl with Java.
I read in other posts the function for this is GetDeviceId() but when I try it the number result not is the Pin number.

I want to retrieve the Pin number appears in Configuration - State - PIN, near IMEI number.

AnyOne know how can I retrieve it ??

Thanks in advance
Offline  
Old 05-10-2007, 11:21 AM   #2 (permalink)
Thumbs Must Hurt
 
jhoetzl's Avatar
 
Join Date: Feb 2007
Location: Central, NJ
Model: 8320
Carrier: T-Mobile
Posts: 116
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Are you testing on the simulator or on a real device?

"This method will return the PIN number of a device or the default value of 0x21000000a if connected to the simulator. You can modify the default value associated with the simulator by using the RSIM command line option.

The RSIM command line option takes the form of: /RSIM=&ltPIN> where PIN is the integer value to be associated with the simulator.
__________________

Current Device: 8320 OS: 4.2.2.338
Previous Device: 8100 OS: 4.2.1.107
BES v4.1.5/Notes 7.0.2
Offline  
Old 05-10-2007, 12:20 PM   #3 (permalink)
Knows Where the Search Button Is
 
Vorino's Avatar
 
Join Date: Aug 2006
Location: Canada
Model: All
PIN: ABBAABBA
Carrier: Rogers
Posts: 25
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

You'll need to convert the result to hexadecimal.
__________________
Paul Beaulieu, Vorino Software Inc. -- http://vorino.com
Offline  
Old 05-14-2007, 09:14 AM   #4 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2007
Model: 8707v
Carrier: c
Posts: 20
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, works fine
very thanks !
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.