Okay so I’ve noticed that even though I use the correct path for the cache folder Android doesn’t register the content in the folder so the user can’t delete the cache content by going into settings -> programs -> administrate -> select program -> clear cache. The folder is deleted properly on uninstal but not if the user actively try to clear the cache. This is not a major issue but its still a minor problem because the user don’t get a proper idea of how much space the application uses at the SD card.
Is there anything I as developer can do to update these values or am I doing something wrong somewhere else?
Okay so I’ve noticed that even though I use the correct path for the
Share
From the docs:
I guess you should handle the removal of yourself. If you want to remove the content if the user cleans the app data create a
sharedPreferenceand clean the cache when the app starts and that preference is not defined.