Posts Tagged ‘ Handler ’

Android Sending and Processing Messages in MessageQueue using Handler

October 16, 2012
By
Message Handler in Action

In this article, we will create an Android application which can send and process messages in MessageQueue using Handler ( android.os.Handler) objects. This application is developed in Eclipse ( 4.2.0 ) with ADT plugin ( 20.0.3 ) and Android SDK ( R20.0.3 ) . 1. Create a new Android application project namely “HandlerDemo” 2....

Read more »

Android Reverse Geocoding using Geocoder at touched location in Google Map

October 2, 2012
By
Reverse Geocoding in Action

Reverse geocoding is the process of transforming a (latitude, longitude) coordinate into a (partial) address. In this article, we will create an Android application which adds a marker on the touched location of the Google Map. It also displays the address of the touched location in a TextView using reverse Geocoding. For reverse Geocoding,...

Read more »

Add marker on touched location using Google Map in Android – Example

September 30, 2012
By
Marker is added at the touched position of Google Map

In this article, we will create an Android application which adds a marker on the touched location of the Google Map. It also displays the latitude and longitude of the touched location in a TextView. This application is developed in Eclipse ( 4.2.0 ) with ADT plugin ( 20.0.3 ) and Android SDK (...

Read more »

Downloading an image from an http url using DownloadManager and displaying in ImageView by dynamically registered BroadcastReceiver

September 3, 2012
By
Progressing the DownloadManager's download process

In this article we will see how to download an image from an http url using DownloadManager and display it in an ImageView using a dynamically registered broadcast receiver. This application will work in Android API level 9 ( GingerBread )  and its higher versions. This is because, DownloadManager is introduced in API level...

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 »

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

August 31, 2012
By
progressbar_demo_on_state_featured

UI thread is the thread in which the components of an application will be executed by default. But there are some tasks which are usually executed in background ( eg : downloading files ). These background tasks are run with the help of threads in Android. These threads are called non-ui threads. An important...

Read more »

Displaying TimePickerDialog using DialogFragment in Android with backward compatibilty support library

August 16, 2012
By
Time Picker Dialog

In this article we will create an Android application which demonstrate how to display a timepicker widget using dialog fragment. Since DialogFragment is introduced beginning with Android 3.0 ( API level 11 ) , we will make use Android support library to work this application in Android 1.6 ( API level 4 ) and...

Read more »

Displaying DatePickerDialog using DialogFragment in Android with backward compatibilty support library

August 16, 2012
By
DatePickerDialog using Dialog Fragment

In this article we will create an Android application which demonstrate how to display a datepicker widget using dialog fragment. Since DialogFragment is introduced beginning with Android 3.0 ( API level 11 ) , we will make use Android support library to work this application in Android 1.6 ( API level 4 ) and...

Read more »

Be friend at g+

Subscribe for Lastest Updates

FBFPowered by ®Google Feedburner