I have a ringtone preference in my app but when I select the tone I want, it does not get stored in the preference value. I can click the preference again and it will not sh
I just had the same problem, but then I reviewed my codes, when I read the preference:
SharedPreferences settings =
context.getSharedPreferences(PREF_FILE_NAME, Context.MODE_PRIVATE);
Which is wrong, the correct solution is:
SharedPreferences settings = PreferenceManager.getDefaultSharedPreferences(context);
Hope it helps