I have used the Android internal storage to save a file for my application (using openFileOutput) but I would like to delete that file, is it possible and how?<
openFileOutput
Another alternative in Kotlin
val file: File = context.getFileStreamPath("file_name") val deleted: Boolean = file.delete()