what is the difference between shared preference and preference? also i want create a ringtone settings what should i use? preference or shared preference? also if there is tutorial to make the ringtone please provide me
Preference is the UI part that is used to allow modification of shared preferences. It actually uses SharedPreferences inside.
From the docs:
Represents the basic Preference UI building block displayed by a PreferenceActivity in the form of a ListView. This class provides the View to be displayed in the activity and associates with a SharedPreferences to store/retrieve the preference data.