Code example for Activity

Methods: getSharedPreferences