Top "Android-asynctask" questions

Use for questions on android.

How to implement progressBar while loading data?

I want to implement progressBar like on the picture below. Right now, I have AsyncTask whic is sperated from fragments …

android background android-asynctask android-progressbar
implement AsyncTask in Fragment android

I've an activity which output json data from as a list. But now I want to implement it in a …

android android-fragments android-asynctask gson android-gridview
How to update ui from asynctask

I've seen many examples of how to do this, but I can't figure how to implement it in my code. …

android android-asynctask android-handler android-json
onPostExecute not called after completion AsyncTask

For some reason my onPostExecute() is not called after my AsyncTask finishes. My class decleration: public class setWallpaperForeground extends AsyncTask&…

java android android-asynctask
Executing Multiple AsyncTask's Parallely

I'm using Android SDK 4.0.3 API15 and I want to run multiple AsyncTasks parallely. I'm getting my data from web server …

android parallel-processing android-asynctask
AsyncTask execute() or executeOnExecutor()?

What's the difference between using execute() and executeOnExecuter()? How does execute() execute tasks by default? (in serial or in parallel?) …

android android-asynctask
How to use asynctask to display a progress bar that counts down?

In my application i want the user to press a button and then wait 5 mins. i know this sounds terrible …

android android-asynctask android-ui countdown
How to display a Toast in Android AsyncTask?

I am trying to display Toast in my initial_background class extended with AsyncTask<URL, Integer, Long>. I …

android android-asynctask toast
"No enclosing instance of type" error while calling method from another class in Android

Colleagues, I have the such question: 1. In my first class I have the public class parseYouTubeAndYahoo extends AsyncTask<String, …

android methods android-asynctask instance
Android: RunOnUiThread vs AsyncTask

I believe Google suggests developers to use AsyncTask. However, I would like to know how is it different from using …

android multithreading performance android-asynctask