Top "Android-asynctask" questions

Use for questions on android.

AsyncTaskLoader vs AsyncTask

Since Honeycomb and the v4 Compatibility Library it is possible to use AsyncTaskLoader. From what I understand, the AsyncTaskLoader can …

android android-asynctask android-loadermanager
What is the most efficient way on Android to call HTTP Web API calls that return a JSON response?

I'm the perfectionist type, I already got web API calls working fine with Google Places API (just as an example), …

java android android-asynctask httprequest asp.net-web-api
How to check if Async Task is already running

I have an app that needs to do an intensive database operation on start up. The app holds a local …

android android-asynctask
How to handle an AsyncTask during Screen Rotation?

I read a lot on how to save my instance state or how to deal with my activity getting destroyed …

android android-asynctask screen-rotation
AsyncTask.executeOnExecutor() before API Level 11

The normal way we do AsyncTask in Android is, from Android API: private class DoIntenseTask extends AsyncTask<Object, Object, …

java android multithreading android-asynctask threadpool
Retrieve Context from a fragment

I created a class to retrieve comments from a JSON encoding from a PHP file. This class, extends from AsyncTask: …

java android android-fragments android-asynctask android-context
Invalid heap address and fatal signal 11

Every so often my app will crash and my log will read: @@@ ABORTING: INVALID HEAP ADDRESS IN dlfree Fatal signal 11 (…

android android-asynctask heap
How to call parent activity function from ASyncTask?

setAccountAuthenticatorResult can be called from the Activity, which extends AccountAuthenticatorActivity. My activity extends that, but launches ASyncTask and hence this …

android android-asynctask accountmanager
AsyncTask doInBackground does not run

I'm having a problem with the AsyncTask class. It seems like my task stops working after creating 4 or 5 tasks. Im …

android android-asynctask
Android AsyncTask example and explanation

I want to use an AsyncTask in my app, but I am having trouble finding a code snippet with a …

android android-asynctask