Top "Android-asynctask" questions

Use for questions on android.

How to display Toast in Android?

I have a slider that can be pulled up and then it shows a map. I can move the slider …

android android-mapview android-asynctask toast
AsyncTask Android example

I was reading about AsyncTask, and I tried the simple program below. But it does not seem to work. How …

android android-asynctask
Download a file with Android, and showing the progress in a ProgressDialog

I am trying to write a simple application that gets updated. For this I need a simple function that can …

java android download android-asynctask
How to get the result of OnPostExecute() to main activity because AsyncTask is a separate class?

I have this two classes. My main Activity and the one that extends the AsyncTask, Now in my main Activity …

android android-asynctask
Android basics: running code in the UI thread

In the viewpoint of running code in the UI thread, is there any difference between: MainActivity.this.runOnUiThread(new Runnable() { …

android android-asynctask android-view android-ui
Using the "animated circle" in an ImageView while loading stuff

I am currently using in my application a listview that need maybe one second to be displayed. What I currently …

android loading android-asynctask geometry
Return a value from AsyncTask in Android

One simple question: is it possible to return a value in AsyncTask? //AsyncTask is a member class private class MyTask …

java android asynchronous android-asynctask return
Running multiple AsyncTasks at the same time -- not possible?

I'm trying to run two AsyncTasks at the same time. (Platform is Android 1.5, HTC Hero.) However, only the first gets …

android multithreading android-asynctask
java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState

I'm using the support library for my app. In my FragmentActivity I'm using an AsyncTask for downloading data from internet. …

android exception android-asynctask android-fragments illegalstateexception
Android check null or empty string in Android

In my trying AsyncTask I get email address from my server. In onPostExecute() I have to check is email address …

android android-asynctask android-fragmentactivity