Welcome!

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

Reply
New Contributor
Posts: 6
Registered: ‎05-31-2012
My Device: none-Blackberry user
My Carrier: Blackberry

sending message to blackberry messenger contact

Hi everyone

I know that i can send messages to a blackberry contact using the bbm 6.1 api. But if i want allow the user send message it will be possible if his contact has the app installed too.

Now my question is, is there a way for allow the app to send messages to a bbm comtact that doesn't have my app intalled????
Developer
Posts: 276
Registered: ‎02-05-2010
My Device: Blackberry Z10
My Carrier: Bouygues Telecom

Re: sending message to blackberry messenger contact

With the BBM SDK you can send bbm messages to all the contacts, even if they don't have your app installed.

Twitter : @LaurentKP
My apps
New Contributor
Posts: 6
Registered: ‎05-31-2012
My Device: none-Blackberry user
My Carrier: Blackberry

Re: sending message to blackberry messenger contact

can yo explain me a little bit more please??? say me what is the api. or show me a little???? i am using the channel api and i cant select any contact from the contact picker .
New Contributor
Posts: 6
Registered: ‎05-31-2012
My Device: none-Blackberry user
My Carrier: Blackberry

Re: sending message to blackberry messenger contact

Little example*
Developer
Posts: 276
Registered: ‎02-05-2010
My Device: Blackberry Z10
My Carrier: Bouygues Telecom

Re: sending message to blackberry messenger contact

Inside a channel you need to use MessagingService.shareContent() see the api documentation or broadcastData. It depends what kind of message you need to send. You can also start a chat with any contact. All is well explained in the bbm sdk developer guide.
Twitter : @LaurentKP
My apps
New Contributor
Posts: 6
Registered: ‎05-31-2012
My Device: none-Blackberry user
My Carrier: Blackberry

Re: sending message to blackberry messenger contact

I need to send a standart message to a conctac selected by user, but not start the chat
Highlighted
Developer
Posts: 19,636
Registered: ‎07-14-2008
My Device: Not Specified

Re: sending message to blackberry messenger contact

Have a look at the SDKDemo.

 

If your application is installed on both BB's, then this is possible, but you will have to always go through a set up process of selecting the contact each time you start the app.