Automatic send back file to sender.

28 views
Skip to first unread message

Adnan Latic

unread,
Jun 2, 2014, 6:20:15 AM6/2/14
to bluecove-...@googlegroups.com
Hi, I'm working on some project where I need to send file back when receive file from somebody.

I used this code to obtain address of sender:

String rd = RemoteDevice.getRemoteDevice(cconn).getBluetoothAddress();

but still not enought to send file back.
How to obtain channel of sender, on the whole url, including bluetooth address and channel?

Mina Shokry Rofaeil

unread,
Jun 2, 2014, 10:07:41 AM6/2/14
to Bluecove Emails

You need to make sure that the sender device is capable of receiving file (i.e. has an appropriate service).

Using the remote device reference start a service search and this should bring you the connection URL.

--
--
You received this message because you are subscribed to the Google
Groups "bluecove-developers" group.
For more options, visit this group at
http://groups.google.com/group/bluecove-developers
---
You received this message because you are subscribed to the Google Groups "bluecove-developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bluecove-develo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages