When to use asynctask?



When to use asynctask?..

Answer / Chandani Gupta

AsyncTask should be used for short-term background operations that take place on a single thread, such as downloading a file or querying a database. It's designed to work with the UI and allows easy updating of the UI.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Android OS Interview Questions

Please explain what is a sticky intent?

1 Answers  


Which dialog boxes are supported in android?

1 Answers  


How can I enable my android system webview?

1 Answers  


Tell me two ways to clear the back stack of activities when a new activity is called using intent?

1 Answers  


How do I install your App?

1 Answers  


Describe the SmsManager class in android.

1 Answers  


Explain difference between asynctasks & threads?

1 Answers  


Explain activity lifecycle briefly.

1 Answers  


How do I remove sections from my favourites?

1 Answers  


What are the dialog boxes that are supported in android?

1 Answers  


What are the features of android os?

1 Answers  


Which is better colour os or miui?

1 Answers  


Categories