Recently I have encounter the following error in my program:
11-18 12:30:30.259: W/System.err(21368): java.net.SocketTimeoutException: Connection timed out 1
There are two possibilities,
1)have you checked and tested your connection.
2)better don't set any connection timeout,if you are setting chose maximum time,,bcos it throws an error,if server didn't response within given time..