Simple Android example of usage ProgressBar with AsyncTask. All the heavy actions will be performed in another thread (in AsyncTask). All the changes will be shown in View part of application.