What is the difference between
android.content.SharedPreferences? Looks like they are for similar things - you can put and get a value by a key in both of them, but Preferences looks like something more difficult and belongs more to the OS than to an app.
Preferences is a core java class <a href="https://developer.android.com/reference/java/util/prefs/Preferences.html" rel="nofollow">link1</a><blockquote>
<strong>java.util.prefs.Preferences :</strong> This class allows applications to store and retrieve user and system preference and configuration data. This data is stored persistently in an implementation-dependent backing store.</blockquote>
SharedPreferences is an android specific interface <a href="https://developer.android.com/reference/android/content/SharedPreferences.html" rel="nofollow">link2</a><blockquote>
<strong>android.content.SharedPreferences :</strong> Interface for accessing and modifying preference data returned by getSharedPreferences(String, int). For any particular set of preferences, there is a single instance of this class that all clients share.</blockquote>