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

Native Development

Posts: 849
Registered: ‎03-03-2011
My Device: Z10
Accepted Solution

Calling your own card from the hub using compose action



How to set up bar-descriptor.xml to put your app on the app list launched by compose action in  the hub?


I can see that WhatsApp can do that.


Best regards,



Leader of Ljubljana BlackBerry Developer Group
BlackBerry Certified Builder for Native Application Development
Posts: 292
Registered: ‎07-25-2008
My Device: Passport

Re: Calling your own card from the hub using compose action

In order for this to work, you must first actually integrate your app with the hub using the UDS API that's now available in 10.2.  One of the setup calls with this API tells the hub that your app supports the compose action, which is ultimately implemented by a call to a special bb.action.COMPOSE target your app provides.


However, I believe you first need to apply for access to use this API, so they can add the necessary permissions to your signing key.  Once they do that, I think they'll also send you some more information and example code.