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: 15
Registered: ‎06-02-2012
My Device: BlackBerry 10 Dev Alpha
My Carrier: Play Poland

Sharing image from ListView

Hi All,



I have problem with sharing a image (png or jpeg) that is displayed on ListView. I've tried InvokeActionItem in Page actions[] but I can't get correct path to image file. With contextactions of ImageView It allows me to share the image only with NFC and sometimes I get ListDataItem.file_path not found.


Any suggestions or examples?


Second thing about this sharing is how can use one action to share multiple image type: gif, png, jpeg? Can I put all to query.mimeType?


Thanks in advance