Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

My info doesn´t erase after uninstall the app

Tags:

android

I made an app that use the sharedPreferences and i storage some info there, when i uninstall the app and install again the info storage there always appear, i don´t know why. I don´t programming anything to keep them there.

I just upgrade my Galaxy S to 2.2.1 and i did a back up of all my apps including that i made, i don´t know sure if Android does not erase correctly the app.

I did uninstall others apps like facebook one and apparently erase all files fine.

I need suggestion of what can i do, please.

like image 443
Fernando Velazquez Avatar asked Jan 21 '11 01:01

Fernando Velazquez


1 Answers

I have the same problem too, and the problem is in the Galaxy S 2.2.1 ROM. It is buggy.

It saves the shared preferences in /dbdata/databases/app-package

Unfortunatelly when you uninstall the application that place is not cleared! It's frustrating.

It makes SharedPreferences completely useless in Galaxy S. When you uninstall, re-install the app you can never change SharedPreferences again.

like image 118
Ertan D. Avatar answered Oct 12 '22 22:10

Ertan D.