com.google.zxing.client.android
Class PreferencesActivity

java.lang.Object
  extended by android.content.Context
      extended by android.content.ContextWrapper
          extended by android.view.ContextThemeWrapper
              extended by android.app.Activity
                  extended by android.app.ListActivity
                      extended by android.preference.PreferenceActivity
                          extended by com.google.zxing.client.android.PreferencesActivity
All Implemented Interfaces:
android.content.ComponentCallbacks, android.content.SharedPreferences.OnSharedPreferenceChangeListener, android.view.KeyEvent.Callback, android.view.LayoutInflater.Factory, android.view.View.OnCreateContextMenuListener, android.view.Window.Callback

public final class PreferencesActivity
extends android.preference.PreferenceActivity
implements android.content.SharedPreferences.OnSharedPreferenceChangeListener

The main settings activity.

Author:
dswitkin@google.com (Daniel Switkin)

Field Summary
static java.lang.String KEY_BULK_MODE
           
static java.lang.String KEY_COPY_TO_CLIPBOARD
           
static java.lang.String KEY_CUSTOM_PRODUCT_SEARCH
           
static java.lang.String KEY_DECODE_1D
           
static java.lang.String KEY_DECODE_DATA_MATRIX
           
static java.lang.String KEY_DECODE_QR
           
static java.lang.String KEY_FRONT_LIGHT
           
static java.lang.String KEY_HELP_VERSION_SHOWN
           
static java.lang.String KEY_PLAY_BEEP
           
static java.lang.String KEY_REMEMBER_DUPLICATES
           
static java.lang.String KEY_REVERSE_IMAGE
           
static java.lang.String KEY_SEARCH_COUNTRY
           
static java.lang.String KEY_SUPPLEMENTAL
           
static java.lang.String KEY_VIBRATE
           
 
Fields inherited from class android.app.Activity
DEFAULT_KEYS_DIALER, DEFAULT_KEYS_DISABLE, DEFAULT_KEYS_SEARCH_GLOBAL, DEFAULT_KEYS_SEARCH_LOCAL, DEFAULT_KEYS_SHORTCUT, FOCUSED_STATE_SET, RESULT_CANCELED, RESULT_FIRST_USER, RESULT_OK
 
Fields inherited from class android.content.Context
ACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, AUDIO_SERVICE, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_NOT_FOREGROUND, CLIPBOARD_SERVICE, CONNECTIVITY_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, DEVICE_POLICY_SERVICE, DOWNLOAD_SERVICE, DROPBOX_SERVICE, INPUT_METHOD_SERVICE, KEYGUARD_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MODE_APPEND, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NFC_SERVICE, NOTIFICATION_SERVICE, POWER_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, STORAGE_SERVICE, TELEPHONY_SERVICE, UI_MODE_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_SERVICE, WINDOW_SERVICE
 
Constructor Summary
PreferencesActivity()
           
 
Method Summary
protected  void onCreate(android.os.Bundle icicle)
           
 void onSharedPreferenceChanged(android.content.SharedPreferences sharedPreferences, java.lang.String key)
           
 
Methods inherited from class android.preference.PreferenceActivity
addPreferencesFromIntent, addPreferencesFromResource, findPreference, getPreferenceManager, getPreferenceScreen, onActivityResult, onContentChanged, onDestroy, onNewIntent, onPreferenceTreeClick, onRestoreInstanceState, onSaveInstanceState, onStop, setPreferenceScreen
 
Methods inherited from class android.app.ListActivity
getListAdapter, getListView, getSelectedItemId, getSelectedItemPosition, onListItemClick, setListAdapter, setSelection
 
Methods inherited from class android.app.Activity
addContentView, closeContextMenu, closeOptionsMenu, createPendingResult, dismissDialog, dispatchKeyEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, findViewById, finish, finishActivity, finishActivityFromChild, finishFromChild, getApplication, getCallingActivity, getCallingPackage, getChangingConfigurations, getComponentName, getCurrentFocus, getInstanceCount, getIntent, getLastNonConfigurationInstance, getLayoutInflater, getLocalClassName, getMenuInflater, getParent, getPreferences, getRequestedOrientation, getSystemService, getTaskId, getTitle, getTitleColor, getVolumeControlStream, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, getWindow, getWindowManager, hasWindowFocus, isChild, isFinishing, isTaskRoot, managedQuery, moveTaskToBack, onApplyThemeResource, onAttachedToWindow, onBackPressed, onChildTitleChanged, onConfigurationChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateDescription, onCreateDialog, onCreateDialog, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onCreateThumbnail, onCreateView, onDetachedFromWindow, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyUp, onLowMemory, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPause, onPostCreate, onPostResume, onPrepareDialog, onPrepareDialog, onPrepareOptionsMenu, onPreparePanel, onRestart, onResume, onRetainNonConfigurationInstance, onSearchRequested, onStart, onTitleChanged, onTouchEvent, onTrackballEvent, onUserInteraction, onUserLeaveHint, onWindowAttributesChanged, onWindowFocusChanged, openContextMenu, openOptionsMenu, overridePendingTransition, registerForContextMenu, removeDialog, requestWindowFeature, runOnUiThread, setContentView, setContentView, setContentView, setDefaultKeyMode, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setIntent, setPersistent, setProgress, setProgressBarIndeterminate, setProgressBarIndeterminateVisibility, setProgressBarVisibility, setRequestedOrientation, setResult, setResult, setSecondaryProgress, setTitle, setTitle, setTitleColor, setVisible, setVolumeControlStream, showDialog, showDialog, startActivity, startActivityForResult, startActivityFromChild, startActivityIfNeeded, startIntentSender, startIntentSenderForResult, startIntentSenderFromChild, startManagingCursor, startNextMatchingActivity, startSearch, stopManagingCursor, takeKeyEvents, triggerSearch, unregisterForContextMenu
 
Methods inherited from class android.view.ContextThemeWrapper
attachBaseContext, getTheme, setTheme
 
Methods inherited from class android.content.ContextWrapper
bindService, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingPermission, checkCallingUriPermission, checkPermission, checkUriPermission, checkUriPermission, clearWallpaper, createPackageContext, databaseList, deleteDatabase, deleteFile, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getApplicationInfo, getAssets, getBaseContext, getCacheDir, getClassLoader, getContentResolver, getDatabasePath, getDir, getExternalCacheDir, getExternalFilesDir, getFilesDir, getFileStreamPath, getMainLooper, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getResources, getSharedPreferences, getWallpaper, grantUriPermission, isRestricted, openFileInput, openFileOutput, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, removeStickyBroadcast, revokeUriPermission, sendBroadcast, sendBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendStickyBroadcast, sendStickyOrderedBroadcast, setWallpaper, setWallpaper, startInstrumentation, startService, stopService, unbindService, unregisterReceiver
 
Methods inherited from class android.content.Context
getString, getString, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY_DECODE_1D

public static final java.lang.String KEY_DECODE_1D
See Also:
Constant Field Values

KEY_DECODE_QR

public static final java.lang.String KEY_DECODE_QR
See Also:
Constant Field Values

KEY_DECODE_DATA_MATRIX

public static final java.lang.String KEY_DECODE_DATA_MATRIX
See Also:
Constant Field Values

KEY_CUSTOM_PRODUCT_SEARCH

public static final java.lang.String KEY_CUSTOM_PRODUCT_SEARCH
See Also:
Constant Field Values

KEY_REVERSE_IMAGE

public static final java.lang.String KEY_REVERSE_IMAGE
See Also:
Constant Field Values

KEY_PLAY_BEEP

public static final java.lang.String KEY_PLAY_BEEP
See Also:
Constant Field Values

KEY_VIBRATE

public static final java.lang.String KEY_VIBRATE
See Also:
Constant Field Values

KEY_COPY_TO_CLIPBOARD

public static final java.lang.String KEY_COPY_TO_CLIPBOARD
See Also:
Constant Field Values

KEY_FRONT_LIGHT

public static final java.lang.String KEY_FRONT_LIGHT
See Also:
Constant Field Values

KEY_BULK_MODE

public static final java.lang.String KEY_BULK_MODE
See Also:
Constant Field Values

KEY_REMEMBER_DUPLICATES

public static final java.lang.String KEY_REMEMBER_DUPLICATES
See Also:
Constant Field Values

KEY_SUPPLEMENTAL

public static final java.lang.String KEY_SUPPLEMENTAL
See Also:
Constant Field Values

KEY_SEARCH_COUNTRY

public static final java.lang.String KEY_SEARCH_COUNTRY
See Also:
Constant Field Values

KEY_HELP_VERSION_SHOWN

public static final java.lang.String KEY_HELP_VERSION_SHOWN
See Also:
Constant Field Values
Constructor Detail

PreferencesActivity

public PreferencesActivity()
Method Detail

onCreate

protected void onCreate(android.os.Bundle icicle)
Overrides:
onCreate in class android.preference.PreferenceActivity

onSharedPreferenceChanged

public void onSharedPreferenceChanged(android.content.SharedPreferences sharedPreferences,
                                      java.lang.String key)
Specified by:
onSharedPreferenceChanged in interface android.content.SharedPreferences.OnSharedPreferenceChangeListener