[21 Sep 2012 | 14 Comments | 29,698 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 | 16 Comments | 96,366 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 | 22,423 views]

Project Description

Read more…

[19 Sep 2012 | 2 Comments | 3,534 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 | 28,980 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 | 4 Comments | 26,336 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 | No Comment | 16,372 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 | 59 Comments | 223,459 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 | 19 Comments | 116,121 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…

[7 Sep 2012 | 19 Comments | 19,500 views]

Project Description

  • In the previous Android example on SAX parser, we stored the XML file in project’s assets folder and opened the file as InputStream using AssetManager.
  • In this example, we store the XML file in remote server

Read more…