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

Web and WebWorks Development

Posts: 82
Registered: ‎09-26-2012
My Device: Torch 9800
My Carrier: NA
Accepted Solution

Capture data shared via BBM inside an application



I need to capture the data shared via BBM inside my BB10 application. I need to fetch the data shared via BBM and then integrate it into my application.


Is this possible. There is an onShareContent in the BB7 BBM.  Do we have such method in BB10 on the receiver's side.

// This will be invoked on the receiver's side. This should be set before the call to register()
       blackberry.bbm.platform.users.onsharecontent = function (sender, content, description, timestamp) {
               try {

}catch (e) {
                       // TODO: handle exception
                       alert("Exception In sharecontent.init "+e);




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

Re: Capture data shared via BBM inside an application

On BlackBerry 10 it's not possible to intercept data being shared to BlackBerry Messenger.  But your application can be a share target from any application that supports sharing.  See the link below for more information.


Receiving invocation

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