* It is a Task which provides functionality of Background and Main Thread.
* It allows application to be performed in Background thread and Update UI element in
foreground or Main thread.
* Though Async Task can perform both background and foreground operation , multiple
application needs physical copy of Async Task class in their projects.
* So Async Task can be used in Client - Server Application.
When an Async task is executed, the task goes through 4 steps:
In Brief , you can go through this link http://developer.android.com/reference/android/os/AsyncTask.html
* It allows application to be performed in Background thread and Update UI element in
foreground or Main thread.
* Though Async Task can perform both background and foreground operation , multiple
application needs physical copy of Async Task class in their projects.
* So Async Task can be used in Client - Server Application.
When an Async task is executed, the task goes through 4 steps:
onPreExecute()
doInBackground()
onProgressUpdate()
onPostExecute()
In Brief , you can go through this link http://developer.android.com/reference/android/os/AsyncTask.html
No comments:
Post a Comment