I am trying to make an Android application which would try to recover deleted content from the SD Card. How feasible is it? I have the following methods in mind:
I am concerned about files stored on contiguous sectors and not the fragmented ones. I want to do a basic file retrieval.
Please let me know some resources which I can use to make this application?
SD cards on Android phones are formatted with FAT32, so any program that can recover deleted files from a FAT32 file system can recover from the Android SD card. Easiest for you will be using SleuthKit (http://sleuthkit.org). Use the "fls" command to list the directory and file the cluster number of the deleted file, then use "icat" command to output it. If you want to write an application, you can use the SleuthKit library and link your Android application to SleuthKit using the native interface provided by Android.
Good Luck.