HTTP connection timeout.

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

HTTP connection timeout.

Postby Jompe71 » Thu Nov 20, 2008 9:29 am

I'm trying to do a HTTP POST to a server and want to manually set the connection timeout.
Have tried both the low level API strategy, i.e. URL.openConnection and the high level API DefaultHttpClient.

The post code itself is working IF the emulator is started with proxy settings.
On the other hand starting emu without proxy settings the connection atempt will naturally fail, but the problem is it seems to try connecting forever without any timeout exception.

Any ideas on how to work around this ???
There is no school like old school gaming.
Experienced Developer
Experienced Developer
Posts: 69
Joined: Sat Oct 25, 2008 2:21 pm
Location: Stockholm Sweden


Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 7 guests