01-23-2013 05:44 AM
I was able to get my app in share while selecting text from browser.
Hope this code can help you.
<invoke-target id="com.package.appname"> <invoke-target-type>APPLICATION</invoke-target-type> <invoke-target-name>App Name</invoke-target-name> <icon> <image>assets/images/common icons/icon.png</image> </icon> <filter> <action>bb.action.VIEW</action> <action>bb.action.OPEN</action> <action>bb.action.SHARE</action> <mime-type>image/png</mime-type> <mime-type>image/jpeg</mime-type> <mime-type>text/plain</mime-type> <property var="uris" value="file://,data://local"/> </filter> </invoke-target>
01-23-2013 06:57 AM - edited 01-23-2013 07:37 AM
Hi,
it's not working for some reason! ![]()
My app isn't listed in the "share menu dialog" - there is only BBM, BBM Group and NFC.
Would you be so nice to post your full bar-description.xml? ![]()
Btw: Do I need to enable something on my device or are there some other pit falls I should be aware of?
Maybe something is wrong with allowing thr ANE to run?
<action system="true">run_air_native</action>
Thanks for your support!
Vibes
01-23-2013 07:41 AM - edited 01-23-2013 07:42 AM
Sure i did few modifications in it.
Btw what is your OS Version , i have tested it in under 10.9.9.339 using Gold SDK
<?xml version="1.0" encoding="UTF-8" standalone="no"?> <qnx> <initialWindow> <systemChrome>none</systemChrome> <transparent>true</transparent> </initialWindow> <!-- <buildId>1</buildId> --> <permission>access_shared</permission> <permission>use_camera</permission> <permission>play_audio</permission> <permission>set_audio_volume</permission> <permission>read_device_identifying_information</permission> <splashscreen>assets/images/landscape/splash.png</ splashscreen> <icon> <image>assets/images/common icons/icon.png</image> </icon> <permission>post_notification</permission> <invoke-target id="com.appname.app"> <invoke-target-type>APPLICATION</invoke-target-typ e> <invoke-target-name>App Name</invoke-target-name> <icon> <image>assets/images/common icons/icon.png</image> </icon> <filter> <action>bb.action.SHARE</action> <mime-type>text/plain</mime-type> </filter> <filter> <action>bb.action.SHARE</action> <mime-type>*</mime-type> <property var="uris" value="http://,file://,data://" /> </filter> </invoke-target> <action system="true">run_air_native</action> </qnx>
I hope this can help you.
I have also tried by removing , run_air_native , it was still showing in share menu .
01-23-2013 08:42 AM - edited 01-23-2013 08:43 AM
Still not showing up. ![]()
I have no idee what I overlook.
2 questions I run into:
1. Are there some special permissions needed? Soemthing like "allow access to clipboard" or something?
2. Is the icon optional? If not - what are the dimensions for it?
<icon> <image>assets/icon.png</image> </icon>
Thanks for your support! ![]()
01-23-2013 08:48 AM
01-23-2013 10:54 AM
How does your "app.xml" look like?
Do I need to add things like <allowBrowserInvocation>true</allowBrowserInvocati
It drives me nuts. ![]()
01-30-2013 06:25 AM