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

Adobe AIR Development

Posts: 249
Registered: ‎03-14-2012
My Device: PlayBook 2.0
My Carrier: AT&T

How to add the share menu button?



I would like to add the share button to my app. (This one)

Currently the button is missing if a user selects a text within my app and the menu appears.


How to enable it?


Thank you!



Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: How to add the share menu button?

Those are the context menu choices set to an object. You defined what gets shown in the context actions and then assign those actions to your control (e.g. a list). The SDK takes care of displaying it. You set an event listener when an item is selected and perform the required action. In the case of "share", you then will package up what you want to share and then call the invocation framework.