SL4A API Help -PreferencesFacade

index
This facade allows access to the Preferences interface.
Notes:
filename - Filename indicates which preference file to refer to. If no filename is supplied (the default) then the SharedPreferences uses is the default for the SL4A application.
prefPutValue - uses "MODE_PRIVATE" when writing to preferences. Save values to the default shared preferences is explicitly disallowed.

See Preferences and Shared Preferences in the android documentation on how preferences work.
@author Robbie Matthews (rjmatthews62@gmail.com)
prefGetAllGet list of Shared Preference Values
filename (String) Desired preferences file. If not defined, uses the default Shared Preferences. (optional)
returns: (Map) Map of key,value
prefGetValueRead a value from shared preferences
key (String)
filename (String) Desired preferences file. If not defined, uses the default Shared Preferences. (optional)
prefPutValueWrite a value to shared preferences
key (String)
value (Object)
filename (String) Desired preferences file. If not defined, uses the default Shared Preferences. (optional)

index