0

I have no problems with async HTTP requests. Start service, make HTTP requests and receive broadcasts. Now I need execute a lot of HTTP requests and user must wait until they finished. Logic: "press button"-(Something blocking any touches)-"3-4 HTTP queries"-(Release). That the simple way to do this without intent broadcasts?

  • I'm not sure if I understood the question. To block the UI, see [`ProgressDialog`](http://developer.android.com/reference/android/app/ProgressDialog.html). You still need to use async operations, as Android does not permit networking on the UI thread. – dst Aug 21 '14 at 20:46
  • 1
    You could use an AsyncTask.. – Davide Aug 21 '14 at 20:46
  • Thank you. Already all done before :-) Simple solution will be like this http://stackoverflow.com/questions/7590555/android-asynctask-how-can-update-progressdialog-increment – user3622145 Aug 21 '14 at 21:26

0 Answers0