I want to implement a generic, thread save class which takes the RessourceId of an ImageView and the Url (http) where the desired image file is stored. It\'ll download the image and fills the src of t
I wonder where to place the AsyncTask in the Application? Can I place it in onCreate Method of my Main Activity?
This question already has answers here: Closed 9 years ago. Possible Duplicate: Updating progress dialog in Activity from AsyncTask
I\'m designing an android app which will need to do the following steps: user pushes a button or otherwise indicates to \"sync data\".
I\'m trying to create a lazy image loader for images both from device and from the web for a ListView.
I want to set a TextView with SpannableString which is from the method below: Html.fromHtml(String source, Html.ImageGetter imageGetter,
I use an AlarmManager to run a Service which tries to download a file from the web. If it fails I\'d like to retry that Service in 5 minutes.
I have an Activity that will query a RESTful API every x seconds (polls using a handler).The results of the GET are used to update a ListView.This is done using an AsyncTask.
I am using the following class to connect to my web service. I would like to make this asynchronous. How can I do this?
I am using AsyncTask to perform some background calculations but I am unable to find a correct way to handle exceptions. Currently I am using the following code: