Top "Android-asynctask" questions

Use for questions on android.

AsyncTask and Contexts

So I'm working out my first multi-threaded application using Android with the AsyncTask class. I'm trying to use it to …

java android android-asynctask android-context
Need Help in Downloading in Background Images in Android?

I have an image view , i had written swiping , at that time of swiping,the images are downloading from Internet, …

android service android-asynctask intentservice
NetworkOnMainThreadException

I just found out about NetworkOnMainThreadException at official docs and was wondering if the emulator is throwing this. I have …

android networking asynchronous android-asynctask networkonmainthread
Real difference between AsyncTask and Thread

I have been reading Android documentation (AsyncTask, Thread) and vogella tutorial about this matter, but I have doubts yet. For …

android multithreading android-asynctask difference asynctaskloader
Android: How to prevent the back button from cancelling a DialogFragment

I have a Fragment that can create and pop up a DialogFragment, but when I hit the back button, it …

android android-asynctask progressdialog fragment back-button
What is the difference between service, intentService in android?

What is the difference between Service and an IntentService in Android? What is the difference between AsyncTask and an IntentService …

android android-asynctask android-service intentservice
Check if all AsyncTasks have finished

I have 3 AsyncTasks and 1 ProgressBar. I want when any of task executes, the progress bar is visible and when all …

android multithreading android-asynctask android-2.2-froyo
How to create Progress Dialog in Android Application?

I am developing the application to receive some data from the internet while receiving the data I want to show …

android android-asynctask progressdialog android-progressbar
android.os.NetworkOnMainThreadException sending an email from Android

I have written an application which sends email from an Android device but I get the following exception when I …

android android-asynctask smtpclient networkonmainthread