Is there any way to send a file using the android bluetooth API?

I need to send a file to a printer that supports OBEX OPP.

I can send the file using the android intent ACTION_SEND, but I'd need
to open the bluetooth device list directly, without the application
selector..

I also tried doing it transparently, with the standard api:
I can connect to the bluetooth printer using the OBEX OPP protocol
(UUID 1105), but it just isn't enough to write the bytes of the file
on the output streams, i read the obex specifications and lots of
header and other handlings are needed to send a file using OBEX..

But if ACTION_SEND can handle this, why there isn't any api for
developers to be used?

I also checked some third party libs like BlueCove, but I still didn't
get it to work..

any ideas?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to