I connect to two servers (PROD is https, test server is http) on my applicaitons.
on J2ME: I can connect to this two servers without a problem. on Android I can\'t conn
I solved this problem. I use ip adress instead of link. Server was Sharepoint server so, It tries to connect to directly sharepoint server, so server wants Authentication:) Dont use directly ip:)
If you're using pre-2.3 devices, HTTPUrlConnection has known issues
http://android-developers.blogspot.com/2011/09/androids-http-clients.html