Android already have BluetoothChat application. Using that app two devices chat with each other.
I am trying little different. Instead of chat I want whatever I write in my EditText
and shake the mobile means it will appear in 2nd device.
Means BluetoothChat have one EditText
and a "send" button. Whatever we write within EditText and press "send" means it send. But instead of button I want to use Sensor.
I also did the sensor for shaking separately. But problem is how can I merge both so that the bluetooth work for this.