I try to set up a Bluetooth connection as follows:
private class ConnectThread extends Thread { private final BluetoothSocket mmSocket; private final Bl
I had a very similar problem some days ago...
Try adding this check to your code:
if(mmInStream.available() > 0){ bytes = mmInStream.read(buffer); mHandler.obtainMessage(MESSAGE_WRITE, -1, -1, buffer).sendToTarget(); }
This fixed my problem...
Good Luck ;)