using setOnItemClickListener to delete an entry from listview
<p>I have a listview and I want to able to select one of the entries here in order to delete it. For example, my entry in listview looks like this:</p>

<p>John Smith</p>

<p>john@hotmail.com</p>

<p>4857394</p>

<p>NewYork</p>

<p>So I want to select this one and delete it. I find this set OnItemClickListener in order to select it. I have delete function. I just need to select name "John Smith" when I click this entry. I don't know what I can write inside function here.</p>

<pre><code>listContent.setOnItemClickListener(new OnItemClickListener()
{
    @Override
    public void onItemClick(AdapterView&lt;?&gt; parent, View view, int position,long id)
    {       
        listContent.getItemAtPosition(position);
    }
});
</code></pre>
