Hi Erin,
I have developed one sample application to send file using Bluetooth
from one android phone to another android phone.
My application is working fine on Samsung Nexus S. I can send file
from Nexus s to another device.
But same application is not working on Samsung Galaxy S2. Both devices
has android SDK 2.3.3 installed.
Code snippet :
ContentValues values = new ContentValues();
values.put(BluetoothShare.URI,sendFilePath);
values.put(BluetoothShare.DESTINATION, BluetoothDeviceList.address);
values.put(BluetoothShare.DIRECTION,
BluetoothShare.DIRECTION_OUTBOUND);
values.put(BluetoothShare.TIMESTAMP, ts);
Uri contentUri =
mContext.getContentResolver().insert(BluetoothShare.CONTENT_URI,
values);
Thanks in advance.
Waiting for your reply.
Thanks,
Chirag