10-15-2008 01:54 AM - edited 10-15-2008 01:54 AM
when I using Connector.open("http://www.google.cn");
I want to cancel it and it can't link to url, stop the thread
it means cancel connect when it opening
10-15-2008 06:14 AM
First of all, why would like to do such a thing? It seems not to be the greatest idea ...
To answer your question, the method returns a Connection object which has a close() method. Nevertheless, Connector.open() will block until it will have the connection...