BlackBerry Forums Support Community
              

Closed Thread
 
Thread Tools
Old 04-30-2009, 04:18 AM   #1
kris_sagar
New Member
 
Join Date: Apr 2009
Model: 7100
PIN: N/A
Carrier: sagar
Posts: 2
Default How to get the PIN number of a Blackberry Device

Please Login to Remove!

I have a JSP page that BlackBerry users can access.
How can I display the BlackBerry Pin number of the person accesing that page?
I know it has something to do with "getDeviceID()"
But I dont know how to use this in a JSP Page.

Can any on please help....

Thanks
Sagar.
Offline  
Old 05-04-2009, 06:50 AM   #2
misty83
Thumbs Must Hurt
 
Join Date: Jan 2009
Model: 7100T
PIN: N/A
Carrier: -
Posts: 73
Default

simply:

int pin = DeviceInfo.getDeviceId();

kind regards
Offline  
Old 05-04-2009, 07:37 AM   #3
Ivanov
Talking BlackBerry Encyclopedia
 
Join Date: Apr 2008
Location: Germany, BW
Model: -
PIN: N/A
Carrier: -
Posts: 310
Default

AKAIK the PIN is transmitted together with the device info in the HTTP header (user agent)
__________________
Blessed is the end user who expects nothing, for he/she will not be disappointed. (Franklin's Rule)
Offline  
Old 05-04-2009, 08:32 AM   #4
Dougsg38p
BlackBerry Extraordinaire
 
Join Date: Mar 2008
Location: Austin, TX
Model: 9700
PIN: N/A
Carrier: T-Mobile
Posts: 1,644
Default

The PIN is not in the user agent field.

Only the device model and OS level, along with the CDLC version level.
Offline  
Old 05-05-2009, 03:08 AM   #5
Ivanov
Talking BlackBerry Encyclopedia
 
Join Date: Apr 2008
Location: Germany, BW
Model: -
PIN: N/A
Carrier: -
Posts: 310
Default

I'm quite sure I've seen them somewhere in the request before, but I think only if using the MDS/BES.

From DB-00435:
Quote:
Each BlackBerry Browser user can also be uniquely identified. A BlackBerry® Mobile Data Service administrator can configure a BlackBerry Mobile Data Service server to send a BlackBerry smartphone userxxx8217;s email address and personal identification number (PIN) with each Hypertext Transfer Protocol (HTTP) request from a BlackBerry Browser. The BlackBerry Mobile Data Service can also be configured to send this information to a certain domain, such as a corporate intranet. If configured, the email address and PIN are sent as headers in the HTTP request and appear as follows:

Rim-device-email: [email address]
Rim-device-id: 2100000a

Note: The Rim-device-email and Rim-device-id parameters can only be sent when using the BlackBerry Browser, and are not available when using the WAP or the BlackBerry® Internet Service Browser.
__________________
Blessed is the end user who expects nothing, for he/she will not be disappointed. (Franklin's Rule)
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Dec/Adac Corp. D4-10390 Rev 6 Model 1664ATTL Output Pulse Board 1983 (B16) picture

Dec/Adac Corp. D4-10390 Rev 6 Model 1664ATTL Output Pulse Board 1983 (B16)

$189.99



Niedermaier vintage Mannequins Visual Display Props Dec. 1991 Catalogue picture

Niedermaier vintage Mannequins Visual Display Props Dec. 1991 Catalogue

$141.00



VINTAGE Bruker Board DEC W4P3042 for SpectroSpin 250 picture

VINTAGE Bruker Board DEC W4P3042 for SpectroSpin 250

$99.99



VINTAGE WESTERN ELECTRIC METER ORDNANCE A322525 WWII ERA DECEMBER 1943 picture

VINTAGE WESTERN ELECTRIC METER ORDNANCE A322525 WWII ERA DECEMBER 1943

$30.00



Adec Vintage Adjusting Dentist Doctor Medical Stool Rolling Swivel Chair picture

Adec Vintage Adjusting Dentist Doctor Medical Stool Rolling Swivel Chair

$199.99



HSS 12pcs Valve Seat & Face Cutter 45dec 30dec 20dec for Vintage Car, Bikes ,Jee picture

HSS 12pcs Valve Seat & Face Cutter 45dec 30dec 20dec for Vintage Car, Bikes ,Jee

$235.94







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