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: 16
Registered: ‎02-03-2012
My Device: Bold 9700
My Carrier: Airtel Ng

sending bbm messages using net.rim.blackberry.api.blackberrymessenger class


Please i need help, I am trying to send a short message from an app to a specific bbm contact (something like the app share on BlackBerry App World), and i dont want to use the BBM SDK just yet, I have tried this:::


BlackBerryMessenger bbm = BlackBerryMessenger.getInstance();

Message msg = new Message(text, null);

if (bbm != null){
MessengerContact mcon = bbm.chooseContact();
if(mcon != null){
Session session = mcon.getSession();


but its not working! I will appreciate any help.

BlackBerry Development Advisor
Posts: 15,784
Registered: ‎07-09-2008
My Device: BlackBerry PRIV
My Carrier: Bell

Re: sending bbm messages using net.rim.blackberry.api.blackberrymessenger class

Those APIs are no longer supported.  You'll need to use the APIs defined in the BBM SDK to integrate with BlackBerry Messenger.

Mark Sohm
BlackBerry Development Advisor

Please refrain from posting new questions in solved threads.
Problem solved? Click the Accept As Solution button.
Found a bug? Report it using Issue Tracker