Hi all,

I have a strange problem with HttpUrlConnection. I can send data (with
POST), but the receiving succeeds only every second time or after a
sufficiently long (< 5 min) pause between the sends. I basically start
a new thread where the initialization of the HttpUrlConnection,
writing/reading from output/input streams and closing the connection
is done. If I don't close the input and the output streams the sending
works correctly each time.

Any suggestions where's the problem? The same problem was discussed in
here
http://groups.google.com/group/android-developers/browse_thread/thread/bc5454ffc71f77dc/837c09f4f1f750b2?lnk=gst&q=getResponseCode#837c09f4f1f750b2
but no solution were found.

-Mika

--~--~---------~--~----~------------~-------~--~----~
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-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to