Welcome!

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

Reply
Developer
Posts: 188
Registered: ‎09-03-2012
My Device: Blackberry 10

Automatic invoking a target base on minetype?

There's a huge number of mimetypes. Does Blackberry provide automatic target selection base on mimetype or I have to build conditional statement base on mimetype in order to select the specific type of target to invoke?

 

  • image/x-xbitmap

  • image/x-xpixmap

  • image/x-xwindowdump

  • video/3gpp

  • video/3gpp2

Developer
Posts: 188
Registered: ‎09-03-2012
My Device: Blackberry 10

Re: Automatic invoking a target base on minetype?

If it is not automatically provided, invoking to file manager would be sufficient Smiley Happy
Highlighted
Developer
Posts: 271
Registered: ‎05-29-2013
My Device: BlackBerry Z10
My Carrier: MTS

Re: Automatic invoking a target base on minetype?

BlackBerry can automatically select the best fitted target - is so called unbound invocation. See https://developer.blackberry.com/cascades/documentation/device_platform/invocation/sending_invocatio... for more info.
Also you can read more about target selection order: https://developer.blackberry.com/cascades/documentation/device_platform/invocation/invocation_broker...
-------------------------------------------------------------------------------
NSR Reader for BlackBerry 10 @NSRReader on Twitter
Me @xelfium on Twitter