I have been using Android internal storage to store files for my app (using openFileOutput) but I want to delete those files, is it possible and how?
Solution
You can use the following simple code example.
Files dir = getFilesDir(); File file = new File(dir, "my_filename" ); boolean deleted = file.delete();