Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Posts: 37
Registered: ‎07-23-2011
My Device: 9700
My Carrier: Airtel

Programmatically Retrieve BBM Pin number

Hai to all,

I need to retrieve BBM Pin number in my app to the user, So for that i need to download BlackBerry Messenger SDK and simulators and do the complete process mentioned in http://docs.blackberry.com/en/developers/deliverables/25813/Create_and_setup_the_workspace_eJDE_1391...,
Since it is too vast to integrate for all those just for BBM pin number. Or is there any alternate API available to get BBM pin number programmatically.

Posts: 152
Registered: ‎07-28-2011
My Device: Bold 9900
My Carrier: MTN

Re: Programmatically Retrieve BBM Pin number

You can have a look at the DeviceInfo API 


I think the function you are looking for is DeviceInfo.getDeviceId();

Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: Programmatically Retrieve BBM Pin number

Not exactly sure what you are asking for here. 


You can use DeviceInfo to obtain the PIN number of the device that the applicatino is running on.


As far as i know, there is no API to get the PIN numbers from your BBM contacts.