how to delete file from internal storage in android studio code example
Example: delete files opened in mode private android
File dir = getFilesDir();
File file = new File(dir, "my_filename");
boolean deleted = file.delete();
File dir = getFilesDir();
File file = new File(dir, "my_filename");
boolean deleted = file.delete();