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-30-2013 11:20 PM
Has anyone figured out how to share a file via invocation in cascades? If I do an unbound invocation I get the screen offering multiple invocation targets, but after selecting one, the invocation just closes without sharing anything. It is possible that I am formatting the uri incorrectly, but any working sample that anyone has would be appreciated.
Solved! Go to Solution.
01-31-2013 04:02 AM
01-31-2013 10:25 AM
I have my MIME type set to 'text/html' the file I am trying to share is in the shared directory (which I can access if I manually attach a file to a new email). I set the uri in the format
is this correct?
01-31-2013 12:29 PM
The MIME type is correct. But there is an error in your uri. You have to construct your uri this way:
"file://" + workingDir + "/shared/misc/fileName.html"
You have to use C++ code to get the working directory:
QString workingDir = QDir::currentPath();
Have a look at this article for more details: