0

I've listed the File from DDMS using

        final String[] files = fileList();
    lv = (ListView)findViewById(R.id.list);
    lv.setChoiceMode(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.

Praveenkumar
  • 24,084
  • 23
  • 95
  • 173

1 Answers1

1

There is a problem of multiple choice.

You have to look at this

Click here

Dharmendra
  • 33,296
  • 22
  • 86
  • 129