Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • Did you get timeout exception after 1 minute? Commented Apr 21, 2013 at 17:05
  • Put a timeout, after that you will get a timeout exception, if you web-server is not down/don't reply. Give it a try, stackoverflow.com/questions/16098810/… Commented Apr 21, 2013 at 17:10
  • You should'nt use AsyncTask to perform network request since when the orientation of your device changes the activity is destroyed but also the AsyncTask which is tied to the lifecycle of this activity. To avoid that you should use Service pattern instead. Commented Apr 24, 2013 at 19:43