开发者

How to delete files from DDMS by programmatically?

I've listed the File from DDMS using

        final String[] files = fileList();
    lv = (ListView)findViewById(R.id.list);
    lv.setC开发者_Go百科hoiceMode(ListView.CHOICE_MODE_MULTIPLE);
    lv.setAdapter(new ArrayAdapter<String>(this, android.R.layout.simple_list_item_multiple_choice, files));

Now, i'm in need to delete a particular file from this list. I've a method on Button for to this deleting process delete_Click(View view) Can anyone know how to do this with this method(). Thanks in Advance.


There is a problem of multiple choice.

You have to look at this

Click here

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜