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) 
            {
            }
        }
    }

}

```
You must notice that when a custom ListView contains focusable elements, such as buttons or checkBoxes, the method onListItemClick may not work (I think it's the expected behaviour). 

So you must remove the focus from these focusable elements and it shall do the trick. In other words, add the following commands to the focusable elements of your ListView:

```
android:focusable="false"
android:focusableInTouchMode="false"

```