Reputation: 318
I'm saving some user data in the internal storage using the openFileOutput method in Context class. The problem is that when I update the app all these files are removed. Is there any way to avoid these files to be removed?
Regads.
Upvotes: 0
Views: 167
Reputation: 1006614
They are not removed when your app is updated. They will be removed when your app is uninstalled. Perhaps you are uninstalling and reinstalling your app instead of doing an in-place upgrade.
Upvotes: 2