error in deleting an item from listview
<p>I am developing an android application in which i have a static listview which contains 5 items.</p>

<p>I want that when i click on selected item an alert dialog should appear containing buttons yes or no. If i click on yes, selected item should get deleted.</p>

<p>Is it possible? If yes, how? Can anyone guide me.The data in the list is static</p>

<p>Here is my java class code</p>

<p><a href="http://pastebin.com/AMJy9cBH" rel="nofollow">http://pastebin.com/AMJy9cBH</a></p>
