The following information shows you how to use the invocation framework with Bluetooth. If you are developing an app in C++ or QML, see QtConnectivity for information on using Bluetooth.

Sharing a local file

Here are the invocation attributes you use to invoke a Bluetooth card to share a local file:

Attribute Value
Target ID





Any valid URI value that is preceded by file:// for a single file

MIME type

Any valid MIME type value, such as audio/mp3, image/jpg, or application/myfiletype

Data must be sent in JSON format, as follows:

      "uri": "file:///path/to/file"      

For sharing multiple files, the URI is preceded by list://.

Last modified: 2015-03-31

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus