com.dropbox.client2.android
Class AuthActivity

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 com.dropbox.client2.android.AuthActivity
All Implemented Interfaces:
android.content.ComponentCallbacks, android.view.KeyEvent.Callback, android.view.LayoutInflater.Factory, android.view.View.OnCreateContextMenuListener, android.view.Window.Callback

public class AuthActivity
extends android.app.Activity


Field Summary
static java.lang.String ACTION_AUTHENTICATE_V1
          The Android action which the official Dropbox app will accept to authenticate a user.
static int AUTH_VERSION
           
static java.lang.String EXTRA_ACCESS_SECRET
          The extra that goes in an intent when returning from Dropbox auth to provide the user's access token secret, if auth succeeded.
static java.lang.String EXTRA_ACCESS_TOKEN
          The extra that goes in an intent when returning from Dropbox auth to provide the user's access token, if auth succeeded.
static java.lang.String EXTRA_CALLING_PACKAGE
          Used for internal authentication.
static java.lang.String EXTRA_CONSUMER_KEY
          The extra that goes in an intent to provide your consumer key for Dropbox authentication.
static java.lang.String EXTRA_CONSUMER_SIG
          Used for internal authentication.
static java.lang.String EXTRA_UID
          The extra that goes in an intent when returning from Dropbox auth to provide the user's Dropbox UID, if auth succeeded.
 
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
ACTIVITY_SERVICE, ALARM_SERVICE, AUDIO_SERVICE, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, CLIPBOARD_SERVICE, CONNECTIVITY_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, INPUT_METHOD_SERVICE, KEYGUARD_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MODE_APPEND, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NOTIFICATION_SERVICE, POWER_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, TELEPHONY_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_SERVICE, WINDOW_SERVICE
 
Constructor Summary
AuthActivity()
           
 
Method Summary
protected  void onCreate(android.os.Bundle savedInstanceState)
           
protected  void onNewIntent(android.content.Intent intent)
           
protected  void onResume()
           
protected  void onSaveInstanceState(android.os.Bundle outState)
           
 
Methods inherited from class android.app.Activity
addContentView, closeContextMenu, closeOptionsMenu, createPendingResult, dismissDialog, dispatchKeyEvent, dispatchTouchEvent, dispatchTrackballEvent, finalize, 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, onActivityResult, onApplyThemeResource, onChildTitleChanged, onConfigurationChanged, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateDescription, onCreateDialog, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onCreateThumbnail, onCreateView, onDestroy, onKeyDown, onKeyMultiple, onKeyUp, onLowMemory, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPause, onPostCreate, onPostResume, onPrepareDialog, onPrepareOptionsMenu, onPreparePanel, onRestart, onRestoreInstanceState, onRetainNonConfigurationInstance, onSearchRequested, onStart, onStop, onTitleChanged, onTouchEvent, onTrackballEvent, onUserInteraction, onUserLeaveHint, onWindowAttributesChanged, onWindowFocusChanged, openContextMenu, openOptionsMenu, 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, startActivity, startActivityForResult, startActivityFromChild, startActivityIfNeeded, startManagingCursor, startNextMatchingActivity, startSearch, stopManagingCursor, takeKeyEvents, 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, getAssets, getBaseContext, getCacheDir, getClassLoader, getContentResolver, getDatabasePath, getDir, getFilesDir, getFileStreamPath, getMainLooper, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getResources, getSharedPreferences, getWallpaper, grantUriPermission, openFileInput, openFileOutput, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, removeStickyBroadcast, revokeUriPermission, sendBroadcast, sendBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendStickyBroadcast, 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, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EXTRA_CONSUMER_KEY

public static final java.lang.String EXTRA_CONSUMER_KEY
The extra that goes in an intent to provide your consumer key for Dropbox authentication. You won't ever have to use this.

See Also:
Constant Field Values

EXTRA_ACCESS_TOKEN

public static final java.lang.String EXTRA_ACCESS_TOKEN
The extra that goes in an intent when returning from Dropbox auth to provide the user's access token, if auth succeeded. You won't ever have to use this.

See Also:
Constant Field Values

EXTRA_ACCESS_SECRET

public static final java.lang.String EXTRA_ACCESS_SECRET
The extra that goes in an intent when returning from Dropbox auth to provide the user's access token secret, if auth succeeded. You won't ever have to use this.

See Also:
Constant Field Values

EXTRA_UID

public static final java.lang.String EXTRA_UID
The extra that goes in an intent when returning from Dropbox auth to provide the user's Dropbox UID, if auth succeeded. You won't ever have to use this.

See Also:
Constant Field Values

EXTRA_CONSUMER_SIG

public static final java.lang.String EXTRA_CONSUMER_SIG
Used for internal authentication. You won't ever have to use this.

See Also:
Constant Field Values

EXTRA_CALLING_PACKAGE

public static final java.lang.String EXTRA_CALLING_PACKAGE
Used for internal authentication. You won't ever have to use this.

See Also:
Constant Field Values

ACTION_AUTHENTICATE_V1

public static final java.lang.String ACTION_AUTHENTICATE_V1
The Android action which the official Dropbox app will accept to authenticate a user. You won't ever have to use this.

See Also:
Constant Field Values

AUTH_VERSION

public static final int AUTH_VERSION
See Also:
Constant Field Values
Constructor Detail

AuthActivity

public AuthActivity()
Method Detail

onCreate

protected void onCreate(android.os.Bundle savedInstanceState)
Overrides:
onCreate in class android.app.Activity

onSaveInstanceState

protected void onSaveInstanceState(android.os.Bundle outState)
Overrides:
onSaveInstanceState in class android.app.Activity

onResume

protected void onResume()
Overrides:
onResume in class android.app.Activity

onNewIntent

protected void onNewIntent(android.content.Intent intent)
Overrides:
onNewIntent in class android.app.Activity