Category Archives: Android Tutorials
BuildMobile: Waiting for Android: UrlJsonAsyncTask
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. Continue reading
BuildMobile: How To Code an Android Widget
One often vaunted feature of Android are the Home screen widgets. The official definition of a widget, taken from the Android documentation is: App Widgets are miniature application views that can be embedded in other applications (such as the Home screen) and receive periodic updates. In practice, widgets are generally only used on the Home screen. Widgets can also be interacted with, reacting to touch events, although there are some limits on what can be done Continue reading