android.provider
Class Settings.System
java.lang.Object
android.provider.Settings.NameValueTable
android.provider.Settings.System
- All Implemented Interfaces:
- BaseColumns
- Enclosing class:
- Settings
public static final class Settings.System
- extends Settings.NameValueTable
Method Summary |
static void |
getConfiguration(ContentResolver cr,
Configuration outConfig)
|
static float |
getFloat(ContentResolver cr,
String name)
|
static float |
getFloat(ContentResolver cr,
String name,
float def)
|
static int |
getInt(ContentResolver cr,
String name)
|
static int |
getInt(ContentResolver cr,
String name,
int def)
|
static long |
getLong(ContentResolver cr,
String name)
|
static long |
getLong(ContentResolver cr,
String name,
long def)
|
static boolean |
getShowGTalkServiceStatus(ContentResolver cr)
|
static String |
getString(ContentResolver resolver,
String name)
|
static Uri |
getUriFor(String name)
|
static boolean |
putConfiguration(ContentResolver cr,
Configuration config)
|
static boolean |
putFloat(ContentResolver cr,
String name,
float value)
|
static boolean |
putInt(ContentResolver cr,
String name,
int value)
|
static boolean |
putLong(ContentResolver cr,
String name,
long value)
|
static boolean |
putString(ContentResolver resolver,
String name,
String value)
|
static void |
setShowGTalkServiceStatus(ContentResolver cr,
boolean flag)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SYS_PROP_SETTING_VERSION
public static final String SYS_PROP_SETTING_VERSION
- See Also:
- Constant Field Values
CONTENT_URI
public static final Uri CONTENT_URI
STAY_ON_WHILE_PLUGGED_IN
public static final String STAY_ON_WHILE_PLUGGED_IN
- See Also:
- Constant Field Values
END_BUTTON_BEHAVIOR
public static final String END_BUTTON_BEHAVIOR
- See Also:
- Constant Field Values
AIRPLANE_MODE_ON
public static final String AIRPLANE_MODE_ON
- See Also:
- Constant Field Values
RADIO_BLUETOOTH
public static final String RADIO_BLUETOOTH
- See Also:
- Constant Field Values
RADIO_WIFI
public static final String RADIO_WIFI
- See Also:
- Constant Field Values
RADIO_CELL
public static final String RADIO_CELL
- See Also:
- Constant Field Values
RADIO_NFC
public static final String RADIO_NFC
- See Also:
- Constant Field Values
AIRPLANE_MODE_RADIOS
public static final String AIRPLANE_MODE_RADIOS
- See Also:
- Constant Field Values
WIFI_SLEEP_POLICY
public static final String WIFI_SLEEP_POLICY
- See Also:
- Constant Field Values
WIFI_SLEEP_POLICY_DEFAULT
public static final int WIFI_SLEEP_POLICY_DEFAULT
- See Also:
- Constant Field Values
WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED
public static final int WIFI_SLEEP_POLICY_NEVER_WHILE_PLUGGED
- See Also:
- Constant Field Values
WIFI_SLEEP_POLICY_NEVER
public static final int WIFI_SLEEP_POLICY_NEVER
- See Also:
- Constant Field Values
WIFI_USE_STATIC_IP
public static final String WIFI_USE_STATIC_IP
- See Also:
- Constant Field Values
WIFI_STATIC_IP
public static final String WIFI_STATIC_IP
- See Also:
- Constant Field Values
WIFI_STATIC_GATEWAY
public static final String WIFI_STATIC_GATEWAY
- See Also:
- Constant Field Values
WIFI_STATIC_NETMASK
public static final String WIFI_STATIC_NETMASK
- See Also:
- Constant Field Values
WIFI_STATIC_DNS1
public static final String WIFI_STATIC_DNS1
- See Also:
- Constant Field Values
WIFI_STATIC_DNS2
public static final String WIFI_STATIC_DNS2
- See Also:
- Constant Field Values
BLUETOOTH_DISCOVERABILITY
public static final String BLUETOOTH_DISCOVERABILITY
- See Also:
- Constant Field Values
BLUETOOTH_DISCOVERABILITY_TIMEOUT
public static final String BLUETOOTH_DISCOVERABILITY_TIMEOUT
- See Also:
- Constant Field Values
LOCK_PATTERN_ENABLED
public static final String LOCK_PATTERN_ENABLED
- See Also:
- Constant Field Values
LOCK_PATTERN_VISIBLE
public static final String LOCK_PATTERN_VISIBLE
- See Also:
- Constant Field Values
LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED
public static final String LOCK_PATTERN_TACTILE_FEEDBACK_ENABLED
- See Also:
- Constant Field Values
NEXT_ALARM_FORMATTED
public static final String NEXT_ALARM_FORMATTED
- See Also:
- Constant Field Values
FONT_SCALE
public static final String FONT_SCALE
- See Also:
- Constant Field Values
DEBUG_APP
public static final String DEBUG_APP
- See Also:
- Constant Field Values
WAIT_FOR_DEBUGGER
public static final String WAIT_FOR_DEBUGGER
- See Also:
- Constant Field Values
DIM_SCREEN
public static final String DIM_SCREEN
- See Also:
- Constant Field Values
SCREEN_OFF_TIMEOUT
public static final String SCREEN_OFF_TIMEOUT
- See Also:
- Constant Field Values
SCREEN_BRIGHTNESS
public static final String SCREEN_BRIGHTNESS
- See Also:
- Constant Field Values
SCREEN_BRIGHTNESS_MODE
public static final String SCREEN_BRIGHTNESS_MODE
- See Also:
- Constant Field Values
SCREEN_BRIGHTNESS_MODE_MANUAL
public static final int SCREEN_BRIGHTNESS_MODE_MANUAL
- See Also:
- Constant Field Values
SCREEN_BRIGHTNESS_MODE_AUTOMATIC
public static final int SCREEN_BRIGHTNESS_MODE_AUTOMATIC
- See Also:
- Constant Field Values
SHOW_PROCESSES
public static final String SHOW_PROCESSES
- See Also:
- Constant Field Values
ALWAYS_FINISH_ACTIVITIES
public static final String ALWAYS_FINISH_ACTIVITIES
- See Also:
- Constant Field Values
MODE_RINGER
public static final String MODE_RINGER
- See Also:
- Constant Field Values
MODE_RINGER_STREAMS_AFFECTED
public static final String MODE_RINGER_STREAMS_AFFECTED
- See Also:
- Constant Field Values
MUTE_STREAMS_AFFECTED
public static final String MUTE_STREAMS_AFFECTED
- See Also:
- Constant Field Values
VIBRATE_ON
public static final String VIBRATE_ON
- See Also:
- Constant Field Values
VOLUME_RING
public static final String VOLUME_RING
- See Also:
- Constant Field Values
VOLUME_SYSTEM
public static final String VOLUME_SYSTEM
- See Also:
- Constant Field Values
VOLUME_VOICE
public static final String VOLUME_VOICE
- See Also:
- Constant Field Values
VOLUME_MUSIC
public static final String VOLUME_MUSIC
- See Also:
- Constant Field Values
VOLUME_ALARM
public static final String VOLUME_ALARM
- See Also:
- Constant Field Values
VOLUME_NOTIFICATION
public static final String VOLUME_NOTIFICATION
- See Also:
- Constant Field Values
VOLUME_BLUETOOTH_SCO
public static final String VOLUME_BLUETOOTH_SCO
- See Also:
- Constant Field Values
VOLUME_SETTINGS
public static final String[] VOLUME_SETTINGS
APPEND_FOR_LAST_AUDIBLE
public static final String APPEND_FOR_LAST_AUDIBLE
- See Also:
- Constant Field Values
RINGTONE
public static final String RINGTONE
- See Also:
- Constant Field Values
DEFAULT_RINGTONE_URI
public static final Uri DEFAULT_RINGTONE_URI
NOTIFICATION_SOUND
public static final String NOTIFICATION_SOUND
- See Also:
- Constant Field Values
DEFAULT_NOTIFICATION_URI
public static final Uri DEFAULT_NOTIFICATION_URI
ALARM_ALERT
public static final String ALARM_ALERT
- See Also:
- Constant Field Values
DEFAULT_ALARM_ALERT_URI
public static final Uri DEFAULT_ALARM_ALERT_URI
TEXT_AUTO_REPLACE
public static final String TEXT_AUTO_REPLACE
- See Also:
- Constant Field Values
TEXT_AUTO_CAPS
public static final String TEXT_AUTO_CAPS
- See Also:
- Constant Field Values
TEXT_AUTO_PUNCTUATE
public static final String TEXT_AUTO_PUNCTUATE
- See Also:
- Constant Field Values
TEXT_SHOW_PASSWORD
public static final String TEXT_SHOW_PASSWORD
- See Also:
- Constant Field Values
SHOW_GTALK_SERVICE_STATUS
public static final String SHOW_GTALK_SERVICE_STATUS
- See Also:
- Constant Field Values
WALLPAPER_ACTIVITY
public static final String WALLPAPER_ACTIVITY
- See Also:
- Constant Field Values
AUTO_TIME
public static final String AUTO_TIME
- See Also:
- Constant Field Values
AUTO_TIME_ZONE
public static final String AUTO_TIME_ZONE
- See Also:
- Constant Field Values
TIME_12_24
public static final String TIME_12_24
- See Also:
- Constant Field Values
DATE_FORMAT
public static final String DATE_FORMAT
- See Also:
- Constant Field Values
SETUP_WIZARD_HAS_RUN
public static final String SETUP_WIZARD_HAS_RUN
- See Also:
- Constant Field Values
WINDOW_ANIMATION_SCALE
public static final String WINDOW_ANIMATION_SCALE
- See Also:
- Constant Field Values
TRANSITION_ANIMATION_SCALE
public static final String TRANSITION_ANIMATION_SCALE
- See Also:
- Constant Field Values
ACCELEROMETER_ROTATION
public static final String ACCELEROMETER_ROTATION
- See Also:
- Constant Field Values
USER_ROTATION
public static final String USER_ROTATION
- See Also:
- Constant Field Values
DTMF_TONE_WHEN_DIALING
public static final String DTMF_TONE_WHEN_DIALING
- See Also:
- Constant Field Values
SOUND_EFFECTS_ENABLED
public static final String SOUND_EFFECTS_ENABLED
- See Also:
- Constant Field Values
HAPTIC_FEEDBACK_ENABLED
public static final String HAPTIC_FEEDBACK_ENABLED
- See Also:
- Constant Field Values
SHOW_WEB_SUGGESTIONS
public static final String SHOW_WEB_SUGGESTIONS
- See Also:
- Constant Field Values
ADB_ENABLED
public static final String ADB_ENABLED
- See Also:
- Constant Field Values
ANDROID_ID
public static final String ANDROID_ID
- See Also:
- Constant Field Values
BLUETOOTH_ON
public static final String BLUETOOTH_ON
- See Also:
- Constant Field Values
DATA_ROAMING
public static final String DATA_ROAMING
- See Also:
- Constant Field Values
DEVICE_PROVISIONED
public static final String DEVICE_PROVISIONED
- See Also:
- Constant Field Values
HTTP_PROXY
public static final String HTTP_PROXY
- See Also:
- Constant Field Values
INSTALL_NON_MARKET_APPS
public static final String INSTALL_NON_MARKET_APPS
- See Also:
- Constant Field Values
LOCATION_PROVIDERS_ALLOWED
public static final String LOCATION_PROVIDERS_ALLOWED
- See Also:
- Constant Field Values
LOGGING_ID
public static final String LOGGING_ID
- See Also:
- Constant Field Values
NETWORK_PREFERENCE
public static final String NETWORK_PREFERENCE
- See Also:
- Constant Field Values
PARENTAL_CONTROL_ENABLED
public static final String PARENTAL_CONTROL_ENABLED
- See Also:
- Constant Field Values
PARENTAL_CONTROL_LAST_UPDATE
public static final String PARENTAL_CONTROL_LAST_UPDATE
- See Also:
- Constant Field Values
PARENTAL_CONTROL_REDIRECT_URL
public static final String PARENTAL_CONTROL_REDIRECT_URL
- See Also:
- Constant Field Values
SETTINGS_CLASSNAME
public static final String SETTINGS_CLASSNAME
- See Also:
- Constant Field Values
USB_MASS_STORAGE_ENABLED
public static final String USB_MASS_STORAGE_ENABLED
- See Also:
- Constant Field Values
USE_GOOGLE_MAIL
public static final String USE_GOOGLE_MAIL
- See Also:
- Constant Field Values
WIFI_MAX_DHCP_RETRY_COUNT
public static final String WIFI_MAX_DHCP_RETRY_COUNT
- See Also:
- Constant Field Values
WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS
public static final String WIFI_MOBILE_DATA_TRANSITION_WAKELOCK_TIMEOUT_MS
- See Also:
- Constant Field Values
WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON
public static final String WIFI_NETWORKS_AVAILABLE_NOTIFICATION_ON
- See Also:
- Constant Field Values
WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY
public static final String WIFI_NETWORKS_AVAILABLE_REPEAT_DELAY
- See Also:
- Constant Field Values
WIFI_NUM_OPEN_NETWORKS_KEPT
public static final String WIFI_NUM_OPEN_NETWORKS_KEPT
- See Also:
- Constant Field Values
WIFI_ON
public static final String WIFI_ON
- See Also:
- Constant Field Values
WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGE
public static final String WIFI_WATCHDOG_ACCEPTABLE_PACKET_LOSS_PERCENTAGE
- See Also:
- Constant Field Values
WIFI_WATCHDOG_AP_COUNT
public static final String WIFI_WATCHDOG_AP_COUNT
- See Also:
- Constant Field Values
WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MS
public static final String WIFI_WATCHDOG_BACKGROUND_CHECK_DELAY_MS
- See Also:
- Constant Field Values
WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLED
public static final String WIFI_WATCHDOG_BACKGROUND_CHECK_ENABLED
- See Also:
- Constant Field Values
WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MS
public static final String WIFI_WATCHDOG_BACKGROUND_CHECK_TIMEOUT_MS
- See Also:
- Constant Field Values
WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNT
public static final String WIFI_WATCHDOG_INITIAL_IGNORED_PING_COUNT
- See Also:
- Constant Field Values
WIFI_WATCHDOG_MAX_AP_CHECKS
public static final String WIFI_WATCHDOG_MAX_AP_CHECKS
- See Also:
- Constant Field Values
WIFI_WATCHDOG_ON
public static final String WIFI_WATCHDOG_ON
- See Also:
- Constant Field Values
WIFI_WATCHDOG_PING_COUNT
public static final String WIFI_WATCHDOG_PING_COUNT
- See Also:
- Constant Field Values
WIFI_WATCHDOG_PING_DELAY_MS
public static final String WIFI_WATCHDOG_PING_DELAY_MS
- See Also:
- Constant Field Values
WIFI_WATCHDOG_PING_TIMEOUT_MS
public static final String WIFI_WATCHDOG_PING_TIMEOUT_MS
- See Also:
- Constant Field Values
Settings.System
public Settings.System()
getString
public static String getString(ContentResolver resolver,
String name)
putString
public static boolean putString(ContentResolver resolver,
String name,
String value)
getUriFor
public static Uri getUriFor(String name)
getInt
public static int getInt(ContentResolver cr,
String name,
int def)
getInt
public static int getInt(ContentResolver cr,
String name)
throws Settings.SettingNotFoundException
- Throws:
Settings.SettingNotFoundException
putInt
public static boolean putInt(ContentResolver cr,
String name,
int value)
getLong
public static long getLong(ContentResolver cr,
String name,
long def)
getLong
public static long getLong(ContentResolver cr,
String name)
throws Settings.SettingNotFoundException
- Throws:
Settings.SettingNotFoundException
putLong
public static boolean putLong(ContentResolver cr,
String name,
long value)
getFloat
public static float getFloat(ContentResolver cr,
String name,
float def)
getFloat
public static float getFloat(ContentResolver cr,
String name)
throws Settings.SettingNotFoundException
- Throws:
Settings.SettingNotFoundException
putFloat
public static boolean putFloat(ContentResolver cr,
String name,
float value)
getConfiguration
public static void getConfiguration(ContentResolver cr,
Configuration outConfig)
putConfiguration
public static boolean putConfiguration(ContentResolver cr,
Configuration config)
getShowGTalkServiceStatus
public static boolean getShowGTalkServiceStatus(ContentResolver cr)
setShowGTalkServiceStatus
public static void setShowGTalkServiceStatus(ContentResolver cr,
boolean flag)
Copyright © 2008-2012. All Rights Reserved.