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.
Note: This question is similar in nature to Android: deleted file(s) and message(s) recovery, but more general about what API should be used.