Question: Listview is located inside the TabActivity and I am unable to generate the click on listItem, try a lot of way but unable to accomplish the task, so, anybody can help. thank you.

Answer: 
Taking a new View then inflate it will resolve the problem in listview onClick in TabHost...!

```
public View getView(final int position, View convertView1, ViewGroup parent) 
{

    final ViewHolder holder;

    final Context context;

    View convertView = null;

    if (convertView == null) 
    {
        convertView = mInflater.inflate(R.layout.file_display_binding, null);                       
        holder = new ViewHolder();
        System.out.println("inside efficient array");                       
        holder.file_imgview = (ImageView)convertView.findViewById(R.id.file_icon_diplay);                                        

        convertView.setOnClickListener(new View.OnClickListener()
        {
            //@Override
            public void onClick(View v) 
            {
            }
        }
    }

}

```
Firstly, get your ListView from it's ID:

```
ListView lv = (ListView)findViewById(R.id.myListView);

```

Then, set its setOnItemClickListener like:

```
lv.setOnItemClickListener(new OnItemClickListener()
    {

        public void onItemClick(AdapterView<?> arg0, View arg1, int arg2,
                long arg3)
        {
            // TODO Auto-generated method stub

        }
    });

```