Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

This blog is part of 1 Tute Sets.

Android Video Tutorials For Beginners to Learn Mobile App Development
prev 1 3 7
  • Android AsyncTask Video Tutorial with Example

    • 1
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 1
    • 1.59k
    Comment on it

    This Video Tutorial is on Android AsyncTask. AsyncTask is an abstract class in which implementation is hidden and only functioning is visible to user. This class allows us to perform long/background operations and generates its result on the main UI thread, which helps us to make our application responsive every time. We can use AsyncTask class by extending AsyncTask<String, String, String> and by execute method we will start the background thread.

     

    AsyncTask is executed with four steps:
    1. onPreExecute
    2. doInBackground
    3. onProgressUpdate
    4. onPostExecute

    Three parameters for AsyncTask:
    1. Params
    2. Progress
    3. Result

     

    I had attached the full demo at the end of this tutorial.

    For any queries feel free to post in comments section.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: