I\'m trying to create a basic bluetooth application, for testing the device.
I got the code from developer.android. Here is the link : http://developer.android.com/
Make sure that your app is not trying to connect while the adapter is busy with discovery: It appears the problem was that before I called
clientSocket.connect()
I needed to call
btAdapter.cancelDiscovery()
This helped solve the same problem for me Matts Reco