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: