Then I don't understand why it's failing to connect. Most of the error 
exception log messages point to either UUID is wrong or I'm not cancelling 
BluetoothAdapter discovery.
 
I had looked back at the BluetoothChat SDK Sample, compared it with my 
codes, and see no significant differences other than that BluetoothChat has 
a Handler and I/O streams implemented.
 
If BluetoothDevice is connected to the BluetoothServerSocket, 
BluetoothServerSocket has accepted the connection, I have to immediately 
close both the server socket and the socket, just like what BluetoothChat 
SDK Sample did?
 
 

-- 
-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to