Android Bluetooth connection issue
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 ;)