public String loadPreference ( String key , String defaultValue ) { String value = getSharedPreferences ( ) . getString ( key , defaultValue ) ; logLoad ( key , value ) ; return value ; }
Retrieve a string value from the preferences .