 <p>try below code :-</p> <pre><code>listView.setOnItemClickListener(new OnItemClickListener() { @Override public void onItemClick(AdapterView&lt;?&gt; parent, View view, int position, long id) { Toast.makeText(getApplicationContext(), "Click ListItem Number " + position, Toast.LENGTH_LONG) .show(); } }); </code></pre> <p>Read below link for more information :-</p> <p><a href="http://www.vogella.com/tutorials/AndroidListView/article.html" rel="nofollow">http://www.vogella.com/tutorials/AndroidListView/article.html</a></p> <p><a href="http://androidexample.com/Create_A_Simple_Listview_-_Android_Example/index.php?view=article_discription&amp;aid=65&amp;aaid=90" rel="nofollow">http://androidexample.com/Create_A_Simple_Listview_-_Android_Example/index.php?view=article_discription&amp;aid=65&amp;aaid=90</a></p>