Simple ListView in Android

Android ListView is a graphical widget in Composite category. There are a various ways options to create Android ListView. We are going to create a very simple ListView by minimum effort.

Create an android project and with default values.

Here are the code:

package com.rahinur.example.simplelistview;

import android.os.Bundle;
import android.widget.ArrayAdapter;

public class MainActivity extends ListActivity {

  protected void onCreate(Bundle savedInstanceState) {

    String[] values = { "Windows", "Linux", "Unix", "Mac", "Android",
      "iOS", "BlackBerry" };
    ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,
      android.R.layout.simple_list_item_1, values);


The Android Story

After starting its journey, Android releases a resourceful version according to the technology and market requirements.

Whether it’s getting directions, sharing photos with friends, or even slicing virtual fruit, each Android release makes something new possible.

Here we have listed Android versions new to old including version name, platform and release text as description.

Name: KitKat
Platform: Android 4.4

Description: It’s our goal with Android KitKat to make an amazing Android experience available for everybody.

Name: Jelly Bean
Platform: Android 4.1

Description: Android is fast and smooth with buttery graphics. With Google Now, you get just the right information at the right time. And with more than 1 million apps on Google Play, and thousands of Android devices, you’ve got the freedom to do what you want on any device you choose.

Name: Ice Cream Sandwich
Platform: Android 4.0

Description: Android comes of age with a new, refined design. Simple, beautiful and beyond smart.

Name: Honeycomb
Platform: Android 3.0

Description: Optimized for tablets, this release opens up new horizons wherever you are.

Name: Gingerbread
Platform: Android 2.3

Description: New sensors make Android great for gaming – so you can touch, tap, tilt, and play away.

Name: Froyo
Platform: Android 2.2

Description: Voice Typing lets you input text, and Voice Actions let you control your phone, just by speaking.

Name: Eclair
Platform: Android 2.0

Description: Make your home screen just how you want it. Arrange apps and widgets across multiple screens and in folders. Stunning live wallpapers respond to your touch.

Name: Donut
Platform: Android 1.6

Description: The world’s information is at your fingertips – search the web, get driving directions…or watch cat videos.

Name: Cupcake
Platform: Android 1.5

Description: Right from the start, Android is an open OS that can run almost any app or widget so you can do what you want to do.

How to Calibrate Touch Screen on HTC Desire HD

As a HTC Desire HD user, you have noticed sometimes that your touch screen malfunctioning.

You can solve this problem by resetting touch screen calibration settings.

Follow the steps to calibrate touch screen on HTC Desire HD:

  • Go to “Menu”
  • Select “Settings”
  • Select “Language & keyboard”
  • Select “Touch Input”
  • Select “Text input”
  • Select “Reset calibration”

This process will calibrate touch screen on you HTC Desire HD