Android


How to Download Data and Update User Interface Using AsyncTask

AsyncTask is a helper class that makes performing a background task and updating the user interface (UI) painless. The class takes care of the communication between the background thread and the main UI thread. All you have to do is override some methods in the AsyncTask class to perform the […]


What Is AsyncTask and How Does it Work 1

When starting out with Android development, one of the challenges you may face is trying to update the user interface (UI) with new information. It’s simple to do if the information is something predetermined like a constant string. However, in most cases, you’ll find yourself needing to show new information […]


Testing and Android — Part 3: Unit Testing and UI Testing for Model View Controller Architecture

In part 1, you have learned about the different types of tests that are available for Android. As a quick refresher, there are two types of test. One is pure java test, which only requires the Java Virtual Machine (JVM) to run and doesn’t require any dependency on the Android […]


4 Tips to Support Language Selection in Android App

Sometimes you may need to support different languages in your application that is independent of the Android system language. The Android framework makes supporting multiple languages simple, but it is dependent on the Android system language. To overcome the limitation of the Android framework language support, you can modify your […]