how can i send file over bluetooth in android?
Posted
by
Karna
on Stack Overflow
See other posts from Stack Overflow
or by Karna
Published on 2012-10-09T07:21:27Z
Indexed on
2012/12/17
5:03 UTC
Read the original article
Hit count: 119
android
I have searched much but I didn't find any solution but I god somewhere this example:
ContentValues values = new ContentValues();
values.put(BluetoothShare.URI, "content://" + uritoSend);
values.put(BluetoothShare.DESTINATION, deviceAddress);
values.put(BluetoothShare.DIRECTION, BluetoothShare.DIRECTION_OUTBOUND);
Long ts = System.currentTimeMillis();
values.put(BluetoothShare.TIMESTAMP, ts);
but this example give error unsupported content. please provide me the correct answer.
Thanks in advance
© Stack Overflow or respective owner