android.preference
Class PreferenceManager

java.lang.Object  extended by android.preference.PreferenceManager

public class PreferenceManager
extends Object


Nested Class Summary
static interfacePreferenceManager.OnActivityDestroyListener
           
static interfacePreferenceManager.OnActivityResultListener
           
static interfacePreferenceManager.OnActivityStopListener
           
 
Field Summary
static StringKEY_HAS_SET_DEFAULT_VALUES
           
static StringMETADATA_KEY_PREFERENCES
           
 
Method Summary
 PreferenceScreencreatePreferenceScreen(Context context)
           
 PreferencefindPreference(CharSequence key)
           
static SharedPreferencesgetDefaultSharedPreferences(Context context)
           
 SharedPreferencesgetSharedPreferences()
           
 intgetSharedPreferencesMode()
           
 StringgetSharedPreferencesName()
           
static voidsetDefaultValues(Context context, int resId, boolean readAgain)
           
static voidsetDefaultValues(Context context, String sharedPreferencesName, int sharedPreferencesMode, int resId, boolean readAgain)
           
 voidsetSharedPreferencesMode(int sharedPreferencesMode)
           
 voidsetSharedPreferencesName(String sharedPreferencesName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

METADATA_KEY_PREFERENCES

public static final String METADATA_KEY_PREFERENCES
See Also:
Constant Field Values

KEY_HAS_SET_DEFAULT_VALUES

public static final String KEY_HAS_SET_DEFAULT_VALUES
See Also:
Constant Field Values
Method Detail

createPreferenceScreen

public PreferenceScreen createPreferenceScreen(Context context)

getSharedPreferencesName

public String getSharedPreferencesName()

setSharedPreferencesName

public void setSharedPreferencesName(String sharedPreferencesName)

getSharedPreferencesMode

public int getSharedPreferencesMode()

setSharedPreferencesMode

public void setSharedPreferencesMode(int sharedPreferencesMode)

getSharedPreferences

public SharedPreferences getSharedPreferences()

getDefaultSharedPreferences

public static SharedPreferences getDefaultSharedPreferences(Context context)

findPreference

public Preference findPreference(CharSequence key)

setDefaultValues

public static void setDefaultValues(Context context,                                    int resId,                                    boolean readAgain)

setDefaultValues

public static void setDefaultValues(Context context,                                    String sharedPreferencesName,                                    int sharedPreferencesMode,                                    int resId,                                    boolean readAgain)


Copyright © 2008-2012. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14