Answers for "how to delete file in android studio"

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

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

Browse Popular Code Answers by Language