BlackBerry Forums Support Community

BlackBerry Forums Support Community (
-   Developer Forum (
-   -   How to get the PIN number of a Blackberry Device (

kris_sagar 04-30-2009 04:18 AM

How to get the PIN number of a Blackberry Device
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....


misty83 05-04-2009 06:50 AM


int pin = DeviceInfo.getDeviceId();

kind regards

Ivanov 05-04-2009 07:37 AM

AKAIK the PIN is transmitted together with the device info in the HTTP header (user agent)

Dougsg38p 05-04-2009 08:32 AM

The PIN is not in the user agent field.

Only the device model and OS level, along with the CDLC version level.

Ivanov 05-05-2009 03:08 AM

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:

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.

All times are GMT -5. The time now is 01:27 PM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.