如何从 android 中的 xml Web 服务中删除内容!!?我想做 nxt: 1-在将数据从 xml ws 解析到 listView 之后。用户应该选择他想从服务中删除的项目之一!并且活动应该重新加载并显示新列表!我想知道怎么做remove the Item from the ws
和怎么做reload the page
!!
ListAdapter getCourseAdapter= new SimpleAdapter(this,coursesList,R.layout.taken_list,
new String[] {"code","creditHours","name"}, new int[]
{R.id.t3,R.id.hrs,R.id.desc});
coursesLV.setAdapter(getCourseAdapter);
coursesLV.setOnItemClickListener(new OnItemClickListener(){
public void onItemClick(AdapterView<?> arg0, View arg1, final int arg2,
long arg3) {
// TODO Auto-generated method stub
coursesList.remove(this);
}
});