title: Safe way to delete files in Android development
body: <p>After analyzing my Android application with a security tool, it has detected a high level vulnerability "File unsafe delete check". I have investigated about this, and it seems that the problem is that the application uses "file.delete()". </p>
  
  <p>That function is considered unsafe because data could theoretically be retrieved with a tool that scans all the storage device. So, if that way of deleting is "unsafe"... what is the "safe" way to delete files in Android? (to avoid getting that "security error" that is supposedly a "high level" one). What is the proper way to delete files in Android Development?</p>
  
  <p>I am getting the same security warning in 2 different applications, one made with native Java and the other one with Xamarin Forms. Thank you very much!</p>