screenexample

The tutorial is an example of ProgressDialog with Async Task.

 

ProgressDialog is a dialog showing a progress indicator and an optional text message or view. Only a text message or a view can be used at the same time. The dialog can be made cancellable on back key press. The progress range is 0..10000. On the tutorial after the button is pressed the the progress dialog is triggered with async task for 10 seconds

AsyncTask enables proper and easy use of the UI thread. This class allows to perform background operations and publish results on the UI thread without having to manipulate threads and/or handlers.

The full source code can be downloaded from github