Answers for "android studio how to delete file"

3

delete files opened in mode private android

File dir = getFilesDir();
File file = new File(dir, "my_filename");
boolean deleted = file.delete();
Posted by: Guest on May-17-2020
0

android studio delete text file

File dir = getFilesDir();
File file = new File(dir, "my_filename");
boolean deleted = file.delete();
Posted by: Guest on October-17-2020

Code answers related to "android studio how to delete file"

Browse Popular Code Answers by Language