deleting checked items from listview with checkbox after clicking button in android
<pre><code>private Button deleteSel;

c.moveToFirst();
while(!c.isAfterLast())
{
tskId[i] = c.getInt(0);
tskType[i] = c.getString(1);
tskDate[i] = c.getString(2);
taskStatus[i] = (c.getString(3).equals("true"))? true : false;
alarmStatus[i] = (c.getString(4).equals("true"))? true : false;

i++;
c.moveToNext();
}
List&lt;HashMap&lt;String,String&gt;&gt; aList = new ArrayList&lt;HashMap&lt;String,String&gt;&gt;();
//aList = new ArrayList&lt;HashMap&lt;String,String&gt;&gt;();

for(i=0;i&lt;c.getCount();i++){
hm = new HashMap&lt;String,String&gt;();

hm.put("txtTitle", tskType[i]);
hm.put("txtTime",tskDate[i]);

aList.add(hm);

}
c.close();

CustomListAdapter listAdapter = new CustomListAdapter(this ,    R.layout.deletes_supporting , aList);
lstvwDelete.setAdapter(listAdapter);
}
</code></pre>

<p>//customListAdapter is user defined class to design listview
now i want to delete the items which are checked by user by using deleteButton. help please...</p>
