Bluetooth

The following information shows you how to use invocation framework with Bluetooth. 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

sys.btviewer

Action

bb.action.SHARE

URI

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, 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: 2014-06-05



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

comments powered by Disqus