Hello, i was just wondering, if i wanted to reset the actual preference file used with SharedPreferences could i just rename the preference file ? , wouldn't that mean that the file still exist or does overwrite it ?
+1
A:
prefs.edit().clear().commit(); // prefs = SharedPreferences
is the proper way. Deleting the file with no referencing SharedPreferences
objects should result the same.
alex
2010-07-17 17:46:14
Thx alot dude :)
Krewie
2010-07-17 18:48:14