title: How to scan storage devices for recovering deleted files?
body: <p>I have seen apps like DiskDigger and Hexamob Recovery, which scan storage devices and allow you to recover deleted files. I was wondering if this can be done via the Android SDK, or does it require use of something else like Android NDK? Either way, can someone point me in the right direction on how this can be done? I would like to make my own implementation.</p>
  
  <p>Note: This question is similar in nature to <a href="https://stackoverflow.com/questions/14205039/android-deleted-files-and-messages-recovery">Android: deleted file(s) and message(s) recovery</a>, but more general about what API should be used.</p>