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
Highlighted
New Contributor
Posts: 3
Registered: ‎08-22-2013
My Device: Z10
My Carrier: apple

images in the suggestions section not work

according to the guide

http://developer.blackberry.com/native/documentation/cascades/device_platform/invocation/menus.html

 

I wrote code like below, but both in the  list section and suggestions section only the image icon_small.png be shown,

is anybody kown the reason?

Thanks.

 

......

<invoke-targetid="myApp.share">

       

<invoke-target-type>application</invoke-target-type>

       

<icon>

           

<imagepublic="true">assets/images/icon_small.png</image>

       

<imagepublic="true">assets/images/icon_big.png</image>

       

</icon>

       

<filter>

           

<action>bb.action.SHARE</action>

           

<mime-type>image/*</mime-type>

           

<propertyvar="exts"value="bmp,gif,ico,jpe,jpeg,jpg,png,tif,tiff,rgb,svg"/>

           

<propertyvar="uris"value="data&colon;//,local://,file://"/>

       

</filter>

</invoke-target>

......

New Contributor
Posts: 3
Registered: ‎08-22-2013
My Device: Z10
My Carrier: apple

Re: images in the suggestions section not work

The icon is just the same one in the list section and the suggestions section.

Is anybody know why, thanks!

Developer
Posts: 828
Registered: ‎10-16-2012
My Device: Red Z10
My Carrier: Rogers

Re: images in the suggestions section not work

You're code appears to be in HTML, you'll likely have better luck posting your question in the web works forum

 

http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/bd-p/browser_dev