Preferences
no.ntnu.item.arctis.library.android
|
DescriptionProvides resources and access to preferences. The application must provide an Andropid preference file in the folder /res/xml with the name preferences.xml. Within this file, preference values can be declared. These preferences have a key and a default value. To get the current value of the preferences, use the following code: SharedPreferences preferences = getPreferences(); // works in AndroidBlock String s = preferences.getString("key", "default"); Origin
Dependencies
|
|
|


