Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
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.