[android-developers] Re: btsocket connected but read zero bytes

2010-02-04 Thread Bwd
Good day. I was able to create a stable connection to the BT device. To do this, I changed your code: BluetoothSocket btsocket = btdev.createRfcommSocketToServiceRecord(uuid); btsocket.connect(); Upon: int RFCOMM_CHANEL = 1; //SPP chanel Method m = btdev.getClass().getMethod("createRfcommSocket",

[android-developers] btsocket stable connection

2010-02-04 Thread Bwd
Good day. I was able to create a stable connection to the BT device. To do this, I changed your code: BluetoothSocket btsocket = btdev.createRfcommSocketToServiceRecord(uuid); btsocket.connect(); Upon: int RFCOMM_CHANEL = 1; //SPP chanel Method m = btdev.getClass().getMethod("createRfcommSocket",

[android-developers] Re: btsocket connected but read zero bytes

2010-02-04 Thread Bwd
Good day. I was able to create a stable connection to the BT device. To do this, I changed your code: BluetoothSocket btsocket = btdev.createRfcommSocketToServiceRecord(uuid); btsocket.connect(); Upon: int RFCOMM_CHANEL = 1; //SPP chanel Method m = btdev.getClass().getMethod("createRfcommSocket",