Hello Eveyone.

I have a bit of a problem.  It seems my code which opens a socket and
connects to a website causes other bluetooth devices to fail to
connect.

Anyone have any ideas why this would be.

Am I missing something in the sockets?  Here is a snippet of code.

socket=new Socket();
socket.connect(new InetSocketAddress("myaddress.com", 80), 5 * 1000);
if (socket.isConnected()){
             socket.close();
             socket = null;
             return true;
 }else{
             socket.close();  // just in case...
             socket = null;
             return false;
}

Any help would be appreciated...
Thanks.
Adev.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to