Java.net.SocketException: Address family not supported by protocol in android emulator?

Just try to do..... connection. SetConnectTimeout(timeoutInMillisecs); Probably you r not setting it.

I tried this but still no use. – Srikanth Pasumarthy yesterday Fine,Try to use----------HttpConnectionParams. SetConnectionTimeout(client.getParams(), CONNECTION_TIMEOUT); HttpConnectionParams.

SetSoTimeout(client.getParams(), SOCKET_TIMEOUT); – amit sharma yesterday.

Try adding this to your AndroidManifest. Xml as well: You also need to catch this Exception: catch(SocketException ex) { Log. E("Error : " , "Error on soapPrimitiveData() " + ex.getMessage()); ex.printStackTrace(); }.

After trying this one, its working for local addresses (behind proxy). Still the external addresses are not working.. – Srikanth Pasumarthy yesterday.

Try to set your proxy and port programmatically in Oncreate() like this System. SetProperty("http. ProxyHost","IPaddress of your machine"); System.

SetProperty("http. ProxyPort","port no").

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions