Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3243962
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T18:29:41+00:00 2026-05-17T18:29:41+00:00

Can anybody tell about the asynctask used in android application. Currently I am working

  • 0

Can anybody tell about the “asynctask” used in android application. Currently I am working on an application where I have to create a Class in which I have to just get the response of any particular URL given.

I this particular class I was told to perform this task by making use of “asynctask”. I had been getting very quick responses of all my Questions from here so far and I am greatly obliged to all of them who are helping me since my first question I posted here.

I am quite new to Android Programming and feeling a bit confidence by the community’s camouflage with me.

Thanks,
david

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T18:29:42+00:00Added an answer on May 17, 2026 at 6:29 pm

    Google’s documentation for AsyncTask is pretty excellent: http://developer.android.com/reference/android/os/AsyncTask.html

    It’s basically a construct that makes threading very simple. When you are doing something like making a web request to some URL, you don’t want to block the UI thread. However, you usually want to update your UI with the results once your background task has completed.

    AsyncTask makes this easy. First, you need to create a class that extends AsyncTask. When you execute the task, its doInBackground method will be called on a background thread. This is where you can download something from the Web or do whatever else you need to do.

    The return value from doInBackgroundwill be provided to the onPostExecute method, which can update the UI appropriately.

    Again, I recommend checking out Google’s documentation. They’ve got great examples on how to use this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anybody tell me about techniques for buffering used in display drivers specifically in
Possible Duplicate: What is Context in Android? Can anybody please tell me about the
Can anybody tell about three things: How to retrieve TimeZone from java.util.Date instance? How
Can anybody tell me about Generation of Garbage Collector in .net ?
Can anybody tell me about the replacement of release in ios-sdk5 e.g. [myview release];
Can anybody tell the working of overriding and hiding in terms of memory and
Can anybody tell me which View Switcher Control is this in below image.?
Can anybody tell me about 'profiling' in unix by giving a small example. Thank
Can anybody tell me about the virtual table concept?
Can anybody please tell me what about visible and includeInLayout properties of a component

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.