Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void doDelete() {
- File sdCard = Environment.getExternalStorageDirectory();
- File file = new File(sdCard + "/arana");
- String[] files;
- files = file.list();
- for (int i=0; i<files.length; i++) {
- File myFile = new File(file, files[i]);
- myFile.delete();
- }
- finish();
- }
Add Comment
Please, Sign In to add comment