onPostExecute – executes on UI thread
or
publishProgress()
; in your doinbackground and
protected void onProgressUpdate(Integer... progress) {
}
http://developer.android.com/reference/android/os/AsyncTask.html
More Related Contents:
- How to display Toast in Android?
- AsyncTask and Looper.prepare() error
- getting context in AsyncTask
- How to display a Toast in Android AsyncTask?
- If statement in android is not working [closed]
- I am trying to parse a data from the following link
- Android basics: running code in the UI thread
- Execute AsyncTask several times
- Android HTML ImageGetter as AsyncTask
- Common class for AsyncTask in Android?
- Android ICS and MJPEG using AsyncTask
- CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch views
- AsyncTaskLoader vs AsyncTask
- Return value from AsyncTask class onPostExecute method
- Android Retrofit – onProgressUpdate for showing Progress Notification
- AsyncTask: where does the return value of doInBackground() go?
- android design considerations: AsyncTask vs Service (IntentService?)
- AsyncTask, must it take such a performance penalty hit…?
- Button in custom Android Toast?
- using asynctask to speed up android app launch time
- running parallel AsyncTask
- Garbage Collection causes : MediaPlayer finalized without being released
- Can’t access “findViewById” in AsyncTask
- Why to use Handlers while runOnUiThread does the same?
- How to handle AsyncTask onPostExecute when paused to avoid IllegalStateException
- Android AsyncTask Progress bar [duplicate]
- How to get a string back from AsyncTask?
- How to use separate thread to perform http requests
- implement AsyncTask in Fragment android
- How to create a Looper thread, then send it a message immediately?