uninstall folder automatically

anallie0

Active Member
Licensed User
Longtime User
My app creates a folder that contains some auxiliary files. is possible uninstall this folder automatically when I uninstall the app. ?
 
Is there a time delay on this, as I tried uninstalling, went to the sdcard and the folder is still there? I had to manually delete it.
 
Upvote 0
If you use File.DirInternal or File.DirDefaultExternal the folder should be removed immediately when the app is uninstalled.
If the folder is in FileDirRootExternal, the folder will still be there if you uninstall the app. At least this what I observe in my devices.
 
Upvote 0
Yes, these are my observations as well which is worrying as I leave quite a few necessary images on the sdcard taking up unwanted space.

Malky
 
Upvote 0
I did mean to confirm that the advice from Mahares worked perfectly in case anyone else experiences this!

Many thanks,

Malky
 
Upvote 0
Back
Top