Hi guys.
I made a Bluetooth server on Galaxy tab (Android 3.1) following the codes 
of BluetoothChat. 
I succeed in connecting this bluetooth server from my PC (though Docklight).
When the PC disconnect the service, I want to know it in my program, how 
can I do that?
I tried the method BluetoothSocket.isConnected() , it seems this method is 
for Android 4.0? 
I updated my project "Project Build Target" to Android 4.0 and my tablet is 
still Android 3.1.
When the program is running it popups a message : 
--- Method "isConnected" with signature "()Z" is not applicable on this 
object
and I can't check get the value of isConnected().
What can I do with this case? Anyway to check the connection in my 
Bluetooth server program?
Thanks in advance.

-- 
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

Reply via email to