Course from Android Developers Codelabs - 7.1 AsyncTask
The app, called Simple AsyncTask, when the user clicks the Button, the app sleeps for a random amount of time, and then displays a message in the TextView when it wakes up..
To learn learn how to add a background task to your Android app using an AsyncTask.
- Implements AsyncTask to your app in order to run a task in the background