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