Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
01-24-2013 06:01 AM
Does the invocation framework (to share text or files to an app via the share button) work on a Dev Alpha device?
This is my bar-descriptor.xml file - I want to register my app to the share menu with text:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
Is there something missing?
Thanks for any feedback!
Solved! Go to Solution.
01-24-2013 07:23 AM
It's not working for my app.
I used the above bar-descriptor.xml but my app doesn't show up in the SHARE menu list if I want to share a link from the browser to my app for example. (Only this ones are listed in there: BBM, BBM Group and NFC)
Any ideas what I'm missing?
Thanks for your support.
01-24-2013 07:29 AM
I think you have to add, at least, uri patterns:
<propertyvar="uris"value="file://; http://, https://"/>
with file:// you will only be able to open from local files.
01-24-2013 10:22 AM
This is what I want my app to be connected with:
send text from anywhere to my app:
- from other apps
send anything text related:
- text files
Would you be so nice to give me an example bar-descriptor.xml that I could use for that?
01-25-2013 02:56 AM
I should start with individuals tests and see if it works.
I leave you some samples I'm having and working:
Share text to your app:
<property value="data://" var="uris"/>
Share link to your app:
<property var="uris" value="http://, https://"/>
This one is for opneing my app with local files with those extensions:
<property value="file://" var="uris" />
<property value="ext1, ext2" var="exts" />
01-25-2013 07:13 AM
Many thanks for the examples - will try them later.
I own a DEV ALPHA device and I want make sure that the invocation framework works on it.
Is an app of yours available that has the share features built in or do you know of one in the BlackBerry World? Maybe you can send me link to a .bar over DM?
That would be awesome!
01-28-2013 11:10 AM
* You should not use VIEWER type in your target type.
* If you specify both mime and exts, the clients will have to invoke with both of them. Otherwise your target wont be found. Best thing to do is to use * as the mime and then define the exts you want to support. Note that, exts are only used for file://.