Waiting for Android: UrlJsonAsyncTask Source code for this article: UrlJsonAsyncTaskTest on GitHub Download and install the Android app: UrlJsonAsyncTaskTest.apk (Android 2.2 or greater) You can also scan this QR Code to download it to your Android phone: Overview I can’t even count how many times I’ve had to load a ProgressDialog in Android, query JSON from a remote URL, and then return control back to the app once the query has completed. It’s an incredibly common control flow, and one I’m sick of doing over and over again. I’m sure I’m not alone.
Read more here:
BuildMobile: Waiting for Android: UrlJsonAsyncTask