Android : can i send message using bluetooth to multi devices in same time

on Thursday, March 26, 2015


that code for files

ContentValues values = new ContentValues(); String filePath1 =Environment.getExternalStorageDirectory().toString()+"/filename.txt"; values.put(BluetoothShare.URI, Uri.fromFile(newFile(filePath1)).toString()); values.put(BluetoothShare.DESTINATION,itDevices.getAddress()); values.put(BluetoothShare.DIRECTION, BluetoothShare.DIRECTION_OUTBOUND); Long ts = System.currentTimeMillis(); values.put(BluetoothShare.TIMESTAMP, ts); Uri contentUri = getContentResolver().insert(BluetoothShare.CONTENT_URI, values);


i need code send message to multi devices at once


0 comments:

Post a Comment