[21 Sep 2012 | 22 Comments | 45,301 views]

Project Description

  • In this Android tutorial, we will see how to make a simple Http GET request to Servlet using Apache Http Client (DefaultHttpClient) and display the response in TextView.
  • We use android.os.AsyncTask to perform this task.

Environment Used

  • Android
Read more...
[21 Sep 2012 | 14 Comments | 37,286 views]

Project Description

  • In this Android tutorial, we will see how to make a simple Http GET request to Servlet using HttpURLConnection and display the response in TextView.
  • We use android.os.AsyncTask to perform this task.

Environment Used

  • Android SDK 4.0.3 /
Read more...
[19 Sep 2012 | 18 Comments | 126,955 views]

Project Description

  • In this tutorial, we will see how to load an image from URL into Android ImageView.
  • For downloading the image from URL and loading it in ImageView, we use AsyncTask.

Environment Used

  • JDK 6 (Java SE 6)
  • Eclipse
Read more...
[19 Sep 2012 | 3 Comments | 28,799 views]

Project Description

Read more...
[19 Sep 2012 | 2 Comments | 4,160 views]

Project Description

In this Android rating bar tutorial, we will create a simple rating bar using android.widget.RatingBar defined in XML layout file and implement OnRatingBarChangeListener to accept user rating and display it as a Toast message.

Environment Used

  • JDK 6
Read more...
[14 Sep 2012 | 4 Comments | 37,035 views]

Almost in all our projects involving user information, there will be a requirement for the random generation of password by the application.

On Google search for the term ‘random password generation java’ you may come across various solutions like using Read more...

[13 Sep 2012 | 5 Comments | 35,517 views]

Project Description

  • This tutorial explains how to configure H2 database connection profile using Eclipse DTP and use Eclipse Data Source Explorer to connect to, navigate, and interact with datasource resources associated with the selected connection profile.

Eclipse DTP Plugin

  • The
Read more...
[13 Sep 2012 | One Comment | 21,380 views]

Project Description

This Eclipse DTP tutorial explains how to configure MySQL database connection profile and use Eclipse Data Source Explorer to connect to, navigate, and interact with datasource resources associated with the selected connection profile.

Eclipse DTP Plugin

  • The Eclipse
Read more...
[8 Sep 2012 | 65 Comments | 293,545 views]

Project Description

  • In the previous Android 4 example, we created ListView in XML layout and populate its items from string array defined by external resource (res/values/strings.xml) programatically using simple ArrayAdapter.
  • In this Android 4 example, we will create custom
Read more...
[8 Sep 2012 | 22 Comments | 152,651 views]

Project Description

  • In this Android 4 example, we will create custom ListView where each row item consists of one ImageView and two TextView (one for displaying image title and other for displaying image description) and populate its items using custom
Read more...