06-14-2012 04:04 PM
Hello BB NDK Devs,
We are trying to invoke navigator_invoke() to generate an email with a user App file attached. Unfortunately, this doesn't seem to be described in the messages:// protocol in the navigator_invoke() documentation. Is there an additional parameters to do this such as messages://attachments=<comma separated paths>.
Solved! Go to Solution.
06-14-2012 04:12 PM
06-14-2012 06:55 PM - edited 06-14-2012 06:55 PM
You can do this using mailto instead of messages. Check the syntax here:
06-18-2012 01:55 PM
That worked nicely! There are however a few gotchas:
- The file:// protocol needs to be omitted.
- It only seems to work with files located in /accounts/1000/shared. We were hope to attach some app generated data from $APPROOT/data. We were abot to work around this by copying the file to shared then attaching it. This does however mean that our app needs an additional Shared access permission just for this purpose.
Thanks again for your answer!