• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Make a folder undeletable

Hi,

There's a folder (in storage/emulated/0/android/data) on my GS4 that I'd like to protect so that it, and the contents inside, can't be deleted, specifically by the "clear data" button under application settings. I want to do everything done by clearing the data EXCEPT lose this folder. As it currently is I have to rename it before every time I want to clear the data. There has to be an easier way to lock the folder so it doesn't disappear?

Thanks in advance.
 
The problem is that means the app can't find it. That's why I rename it before I clear, I'm looking for a solution where I don't have to rename it but it can't be deleted by clearing the data.
 
Clearing data shouldn't be a regular occurrence. Is there some problem that's causing you to do this on a regular basis?
 
Back
Top Bottom