how can i send file over bluetooth in android?
- by Karna
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