Posts Tagged ‘ ASyncTask ’

Android Lazy Loading images and text in listview from http json data

September 19, 2012
By
Android Lazy Loading Images in ListView

In this article, we will create an Android application containing listview with images and text. The listview items are loaded from a remote http json object. The images and text are loaded in listview as they get downloaded to the device. The whole application can be divided in to three different processes as follows...

Read more »

Android JSON Parsing with JSONObject and loading to ListView – Example

September 10, 2012
By
Listview with data parsed from JSON data

In this article, we will create an Android application which will parse JSON data stored a local String variable and load to a ListView widget. The parsing process will be done in a non-ui thread using AsyncTask, one of the simplest method provided by Android to create multiple threads in an application. This application...

Read more »

Android Http Access with HttpUrlConnection to download image – Example

September 7, 2012
By
Showing the image downloaded from an HTTP server

In this article we will create an Android application which will download an image from a remote HTTP server. The communication between the Android application and the HTTP server will be done using the class HttpUrlConnection. Once the image is dowloaded completely, it will be displayed in an ImageView widget. Here, the download process...

Read more »

Android Xml parsing with XmlPullParser and loading to ListView – Example

September 6, 2012
By
Displaying Parsed XML data in a listview

According to Android documentation, XmlPullParser is the efficient and maintainable way to parse XML in Android. In this article, we will parse  xml data using XmlPullParser and load that data into a listview. Since xml parsing is a complex and time consuming ( depends on the xml data )  process, we are doing it...

Read more »

Showing ProgressDialog while a work in progress ( background process ) using AsyncTask in Android

September 1, 2012
By
ProgressDialog in Action

In this article, we will see how to show a ProgressDialog while a work is progressing in a non-ui thread ( background ). Here the background process is executing in an AsyncTask object. This application is developed in Eclipse ( 4.2.0 ) with ADT plugin ( 20.0.3 ) and Android SDK plugin (R20.0.3 )....

Read more »

Updating ProgressBar status from a non-ui thread ( working thread ) using AsyncTask in Android

September 1, 2012
By
Screenshot of the application in execution

In the article titled “Updating ProgressBar status from a non-ui thread ( working thread ) using Handler in Android“, we have seen , how to manipulate¬† a UI thread component from a non-UI thread using Handler. In this article, we will see, how to update the progress bar in a UI thread from a...

Read more »

Be friend at g+

Subscribe for Lastest Updates

FBFPowered by ®Google Feedburner