Great job Stefanno, your library helps me a lot!!! I also use your library (RFCOMM) already. The only thing I found is, that when I try to pair to a device which is offline the library still calls the callback method paired().
LocalBluetoothDevice(15638): _localDevice is NOT null BluetoothBroadcastReceiver(15638): Registering LocalBluetoothDevice(15638): 00:07:44:99:4E:50 is already paired LocalBluetoothDevice(15638): creating new BluetoothSocket for 00:07:44:99:4E:50 on port 1 You can see it even creates a BluetoothSocket, so how do I figure out if a device is successful connected or not? If I try to write to the socket it tells me in the log that the host is down, however it does not raise an exception which I can catch. ERROR/bluetooth_RfcommSocket.cpp(15717): connect error: Host is down (112) Any ideas? Bonifaz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---