I have created an activity where i have used shared preferences for storing data..now in another activity i have an reset button..when i click on the reset button the data s
If you want to wipe all the data in a preference file call clear() from the SharedPreferences.Editor instance
clear()
SharedPreferences.Editor
http://developer.android.com/reference/android/content/SharedPreferences.Editor.html#clear()