SaferMobile / InTheClear

Java and Android mobile alerting and secure wipe application(s)
https://lab.safermobile.org/wiki/InTheClear
GNU General Public License v3.0
23 stars 19 forks source link

Recursive SDCard delete should kill folder structure #73

Open djhalliday opened 13 years ago

djhalliday commented 13 years ago

Right now it wipes files but keeps folder structure in tact.

harlo commented 13 years ago

So, this can be implemented, but I will have to do some more research. Android automatically generates certain folders for its use (on my Nexus 1, we get Android, DCIM, and LOST.DIR, but on other phones there might be others.) When you delete them, the system immediately regenerates them. So towards the end of the wipe process, we're thrown into a delete-regenerate loop that ultimately crashes on a stack overflow error.

Will research how to get this done properly for all devices, but leaving it out for now...