Top "Android-asynctask" questions

Use for questions on android.

Android Asynctask vs Runnable vs timertask vs Service

What are the differences between these methods (classes)? I want to run a app that runs every 5 seconds, clear the …

android service android-asynctask runnable timertask
Uploading multipart file with Koush Ion library

In my last app I'm going to use Koush Ion library. It's so handy but i have a problem with …

android file-upload android-asynctask ion-koush
Imageview and PagerAdapter

I want to put images in each pages of my ViewPager (like a book). Those images came from a list …

android image android-asynctask android-viewpager android-pageradapter
Passing database to another activity via intent

I am attempting to pass the contents of a database that I have created to another activity via intent using …

android sqlite android-intent android-asynctask android-query
onPostExecute on cancelled AsyncTask

Does onPostExecute execute if the AsyncTask has been cancelled? If it does execute, is it safe to say that I …

android multithreading android-asynctask
Avoiding RejectedExecutionException in Android 4.4 when app uses list

In Android 4.4 there seems to be a change in the code that causes list icons to be loaded using AsyncTasks. …

android android-asynctask android-4.4-kitkat threadpoolexecutor
AsyncTask Threading Rule - Can it really only be used once?

In the documentation on AsyncTask it gives the following as a rule related to threading: The task can be executed …

android android-asynctask
How many AsyncTasks i can run in an single process application

I am using asyncTasks, to load list elements with images (Just followed android's tutorial of efficiently loading bitmaps) In DDMS, …

android android-asynctask executorservice threadpoolexecutor
android how to show progress dialog on snackBar?

Is there way to show progress dialog on snackBar while getting data from server for pagination inside AsyncTask.If is …

android-asynctask progressdialog snackbar
Called From Wrong Thread Exception with AsyncTask

I keep getting a CalledFromWrongThreadException even if i throw it into AsyncTask's DoInBackground method! Can anyone tell me why and …

android android-asynctask asyncsocket thread-exceptions