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: 2013-12-21

comments powered by Disqus