Sunday, January 3, 2010

[android-developers] HttpPost works with Wifi, not with Mobile...

Hi all,

I'm trying to use HttpPost to send data from an android device to a
server.
It works great with a Wifi connection, but I get the IOException "The
target server failed to respond" with a Mobile connection (3G, Edge,
etc.). It doesn't seem to be a timeout problem (I set it to 90s).
The use of HttpGet works perfectly with both Wifi and Mobile
connection...
Any idea of where the problem could come from?

Thanks!

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate