Android : How to remove the shared_pref.xml file in Android?

on Friday, October 31, 2014


I want to remove all of the shared preferences (and files) inside of my application using one button. Essentially simulating an uninstall. I understand that SharedPreferences.Editor has a clear() method, but it doesn't seem to actually delete the xml file created by SharedPreferences.


0 comments:

Post a Comment