public abstract class Activity extends _HoloActivity
| Modifier and Type | Class and Description |
|---|---|
static interface |
Activity.Addons |
_HoloActivity.Holo, _HoloActivity.OnWindowFocusChangeListenerWatson.OnCreateOptionsMenuListener, Watson.OnOptionsItemSelectedListener, Watson.OnPrepareOptionsMenuListenerIAddonAttacher.AddonCallback<V>, IAddonAttacher.AttachException| Modifier and Type | Field and Description |
|---|---|
static String |
ADDON_ROBOGUICE |
static String |
ADDON_SHERLOCK |
static String |
ADDON_SLIDER |
static String |
ADDON_SLIDING_MENU
Deprecated.
|
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_OKACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, AUDIO_SERVICE, BIND_ABOVE_CLIENT, BIND_ADJUST_WITH_ACTIVITY, BIND_ALLOW_OOM_MANAGEMENT, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_IMPORTANT, BIND_NOT_FOREGROUND, BIND_WAIVE_PRIORITY, CLIPBOARD_SERVICE, CONNECTIVITY_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, DEVICE_POLICY_SERVICE, DOWNLOAD_SERVICE, DROPBOX_SERVICE, INPUT_METHOD_SERVICE, INPUT_SERVICE, KEYGUARD_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MEDIA_ROUTER_SERVICE, MODE_APPEND, MODE_ENABLE_WRITE_AHEAD_LOGGING, MODE_MULTI_PROCESS, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NFC_SERVICE, NOTIFICATION_SERVICE, NSD_SERVICE, POWER_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, STORAGE_SERVICE, TELEPHONY_SERVICE, TEXT_SERVICES_MANAGER_SERVICE, UI_MODE_SERVICE, USB_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_P2P_SERVICE, WIFI_SERVICE, WINDOW_SERVICE| Constructor and Description |
|---|
Activity() |
| Modifier and Type | Method and Description |
|---|---|
<T extends IAddonActivity> |
addon(Class<? extends IAddon> clazz) |
void |
addon(Collection<Class<? extends IAddon>> classes) |
<T extends IAddonActivity> |
addon(String classname) |
AddonSherlock.AddonSherlockA |
addonSherlock() |
void |
closeOptionsMenu() |
boolean |
dispatchKeyEvent(android.view.KeyEvent event) |
android.view.View |
findViewById(int id) |
ActionBar |
getSupportActionBar() |
android.os.Bundle |
instanceState(android.os.Bundle savedInstanceState) |
boolean |
isAddonAttached(Class<? extends IAddon> clazz) |
boolean |
isCreatedByThemeManager() |
boolean |
isFirstRun() |
void |
lockAttaching() |
Collection<Class<? extends IAddon>> |
obtainAddonsList() |
void |
onActionModeFinished(ActionMode mode) |
void |
onActionModeStarted(ActionMode mode) |
protected void |
onActivityResult(int requestCode,
int resultCode,
android.content.Intent data) |
void |
onConfigurationChanged(android.content.res.Configuration newConfig) |
void |
onContentChanged() |
protected void |
onCreate(android.os.Bundle savedInstanceState) |
boolean |
onCreateOptionsMenu(android.view.Menu menu) |
boolean |
onCreateOptionsMenu(Menu menu) |
boolean |
onCreatePanelMenu(int featureId,
android.view.Menu menu) |
protected void |
onDestroy() |
boolean |
onMenuItemSelected(int featureId,
android.view.MenuItem item) |
boolean |
onMenuOpened(int featureId,
android.view.Menu menu) |
protected void |
onNewIntent(android.content.Intent intent) |
boolean |
onOptionsItemSelected(android.view.MenuItem item) |
boolean |
onOptionsItemSelected(MenuItem item) |
void |
onPanelClosed(int featureId,
android.view.Menu menu) |
protected void |
onPause() |
protected void |
onPostCreate(android.os.Bundle sSavedInstanceState) |
protected void |
onPostInit(_HoloActivity.Holo config,
android.os.Bundle savedInstanceState) |
protected void |
onPostResume() |
protected void |
onPreInit(_HoloActivity.Holo config,
android.os.Bundle savedInstanceState) |
boolean |
onPrepareOptionsMenu(android.view.Menu menu) |
boolean |
onPrepareOptionsMenu(Menu menu) |
boolean |
onPreparePanel(int featureId,
android.view.View view,
android.view.Menu menu) |
protected void |
onRestart() |
protected void |
onResume() |
protected void |
onSaveInstanceState(android.os.Bundle outState) |
protected void |
onStart() |
protected void |
onStop() |
protected void |
onTitleChanged(CharSequence title,
int color) |
void |
openOptionsMenu() |
boolean |
performAddonAction(IAddonAttacher.AddonCallback<IAddonActivity> callback) |
void |
requestWindowFeature(long featureIdLong) |
android.os.Bundle |
saveInstanceState() |
void |
setSupportProgress(int progress) |
void |
setSupportProgressBarIndeterminate(boolean indeterminate) |
void |
setSupportProgressBarIndeterminateVisibility(boolean visible) |
void |
setSupportProgressBarVisibility(boolean visible) |
void |
setSupportSecondaryProgress(int secondaryProgress) |
void |
setUiOptions(int uiOptions) |
void |
setUiOptions(int uiOptions,
int mask) |
ActionMode |
startActionMode(ActionMode.Callback callback) |
void |
supportInvalidateOptionsMenu() |
addContentView, addOnWindowFocusChangeListener, createConfig, forceInit, getConfig, getContextMenuListener, getDefaultSharedPreferences, getDefaultSharedPreferences, getLastThemeResourceId, getLayoutInflater, getSharedPreferences, getSharedPreferences, getSupportActionBarContext, getSupportApplication, getSupportMenuInflater, getSystemService, getTheme, getThemedLayoutInflater, getUserHandler, getWindowDecorView, init, init, invalidateOptionsMenu, isForceThemeApply, isInited, onBackPressed, onContextItemSelected, onContextItemSelected, onContextMenuClosed, onContextMenuClosed, onCreateConfig, onCreateContextMenu, onCreateContextMenu, onInit, onWindowFocusChanged, registerForContextMenu, registerForContextMenu, setContentView, setContentView, setContentView, setForceThemeApply, setTheme, setTheme, startActivities, startActivities, startActivity, startActivity, startActivityForResult, startActivityForResult, superGetSharedPreferences, superGetSystemService, superStartActivity, unregisterForContextMenuonCreatePanelMenu, onMenuItemSelected, onPreparePaneldump, getLastCustomNonConfigurationInstance, getSupportFragmentManager, getSupportLoaderManager, onAttachFragment, onCreateView, onKeyDown, onLowMemory, onResumeFragments, onRetainCustomNonConfigurationInstance, onRetainNonConfigurationInstance, startActivityFromFragmentcloseContextMenu, createPendingResult, dismissDialog, dispatchGenericMotionEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, finish, finishActivity, finishActivityFromChild, finishAffinity, finishFromChild, getActionBar, getApplication, getCallingActivity, getCallingPackage, getChangingConfigurations, getComponentName, getCurrentFocus, getFragmentManager, getIntent, getLastNonConfigurationInstance, getLoaderManager, getLocalClassName, getMenuInflater, getParent, getParentActivityIntent, getPreferences, getRequestedOrientation, getTaskId, getTitle, getTitleColor, getVolumeControlStream, getWindow, getWindowManager, hasWindowFocus, isChangingConfigurations, isChild, isFinishing, isTaskRoot, managedQuery, moveTaskToBack, navigateUpTo, navigateUpToFromChild, onActionModeFinished, onActionModeStarted, onApplyThemeResource, onAttachedToWindow, onAttachFragment, onChildTitleChanged, onCreateDescription, onCreateDialog, onCreateDialog, onCreateNavigateUpTaskStack, onCreatePanelView, onCreateThumbnail, onCreateView, onDetachedFromWindow, onGenericMotionEvent, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onNavigateUp, onNavigateUpFromChild, onOptionsMenuClosed, onPrepareDialog, onPrepareDialog, onPrepareNavigateUpTaskStack, onRestoreInstanceState, onSearchRequested, onTouchEvent, onTrackballEvent, onTrimMemory, onUserInteraction, onUserLeaveHint, onWindowAttributesChanged, onWindowStartingActionMode, openContextMenu, overridePendingTransition, recreate, removeDialog, requestWindowFeature, runOnUiThread, setDefaultKeyMode, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setFinishOnTouchOutside, setIntent, setProgress, setProgressBarIndeterminate, setProgressBarIndeterminateVisibility, setProgressBarVisibility, setRequestedOrientation, setResult, setResult, setSecondaryProgress, setTitle, setTitle, setTitleColor, setVisible, setVolumeControlStream, shouldUpRecreateTask, showDialog, showDialog, startActionMode, startActivityFromChild, startActivityFromChild, startActivityFromFragment, startActivityFromFragment, startActivityIfNeeded, startActivityIfNeeded, startIntentSender, startIntentSender, startIntentSenderForResult, startIntentSenderForResult, startIntentSenderFromChild, startIntentSenderFromChild, startManagingCursor, startNextMatchingActivity, startNextMatchingActivity, startSearch, stopManagingCursor, takeKeyEvents, triggerSearchbindService, 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, getObbDir, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getResources, getWallpaper, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, grantUriPermission, isRestricted, openFileInput, openFileOutput, openOrCreateDatabase, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, removeStickyBroadcast, revokeUriPermission, sendBroadcast, sendBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendStickyBroadcast, sendStickyOrderedBroadcast, setWallpaper, setWallpaper, startInstrumentation, startService, stopService, unbindService, unregisterReceivergetString, getString, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, registerComponentCallbacks, unregisterComponentCallbacksclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonCreatePanelMenuonPreparePanelonMenuItemSelectedpublic static final String ADDON_ROBOGUICE
public static final String ADDON_SHERLOCK
public static final String ADDON_SLIDER
@Deprecated public static final String ADDON_SLIDING_MENU
ADDON_SLIDER insteadpublic <T extends IAddonActivity> T addon(Class<? extends IAddon> clazz)
public void addon(Collection<Class<? extends IAddon>> classes)
public <T extends IAddonActivity> T addon(String classname)
public AddonSherlock.AddonSherlockA addonSherlock()
public void closeOptionsMenu()
closeOptionsMenu in class android.app.Activitypublic boolean dispatchKeyEvent(android.view.KeyEvent event)
dispatchKeyEvent in interface android.view.Window.CallbackdispatchKeyEvent in class android.app.Activitypublic android.view.View findViewById(int id)
findViewById in class android.app.Activitypublic ActionBar getSupportActionBar()
getSupportActionBar in class _HoloActivitypublic android.os.Bundle instanceState(android.os.Bundle savedInstanceState)
public boolean isCreatedByThemeManager()
public boolean isFirstRun()
public void lockAttaching()
public Collection<Class<? extends IAddon>> obtainAddonsList()
public void onActionModeFinished(ActionMode mode)
public void onActionModeStarted(ActionMode mode)
protected void onActivityResult(int requestCode,
int resultCode,
android.content.Intent data)
onActivityResult in class android.support.v4.app.FragmentActivitypublic void onConfigurationChanged(android.content.res.Configuration newConfig)
onConfigurationChanged in interface android.content.ComponentCallbacksonConfigurationChanged in class android.support.v4.app.FragmentActivitypublic void onContentChanged()
onContentChanged in interface android.view.Window.CallbackonContentChanged in class android.app.Activityprotected void onCreate(android.os.Bundle savedInstanceState)
onCreate in class _HoloActivitypublic final boolean onCreateOptionsMenu(android.view.Menu menu)
onCreateOptionsMenu in class android.app.Activitypublic boolean onCreateOptionsMenu(Menu menu)
onCreateOptionsMenu in class _HoloActivitypublic boolean onCreatePanelMenu(int featureId,
android.view.Menu menu)
onCreatePanelMenu in interface android.view.Window.CallbackonCreatePanelMenu in class android.support.v4.app.FragmentActivityprotected void onDestroy()
onDestroy in class _HoloActivitypublic boolean onMenuItemSelected(int featureId,
android.view.MenuItem item)
onMenuItemSelected in interface android.view.Window.CallbackonMenuItemSelected in class android.support.v4.app.FragmentActivitypublic boolean onMenuOpened(int featureId,
android.view.Menu menu)
onMenuOpened in interface android.view.Window.CallbackonMenuOpened in class android.app.Activityprotected void onNewIntent(android.content.Intent intent)
onNewIntent in class android.support.v4.app.FragmentActivitypublic final boolean onOptionsItemSelected(android.view.MenuItem item)
onOptionsItemSelected in class android.app.Activitypublic boolean onOptionsItemSelected(MenuItem item)
onOptionsItemSelected in class _HoloActivitypublic void onPanelClosed(int featureId,
android.view.Menu menu)
onPanelClosed in interface android.view.Window.CallbackonPanelClosed in class android.support.v4.app.FragmentActivityprotected void onPause()
onPause in class android.support.v4.app.FragmentActivityprotected void onPostCreate(android.os.Bundle sSavedInstanceState)
onPostCreate in class _HoloActivityprotected void onPostInit(_HoloActivity.Holo config, android.os.Bundle savedInstanceState)
onPostInit in class _HoloActivityprotected void onPostResume()
onPostResume in class android.support.v4.app.FragmentActivityprotected void onPreInit(_HoloActivity.Holo config, android.os.Bundle savedInstanceState)
onPreInit in class _HoloActivitypublic final boolean onPrepareOptionsMenu(android.view.Menu menu)
onPrepareOptionsMenu in class android.app.Activitypublic boolean onPrepareOptionsMenu(Menu menu)
onPrepareOptionsMenu in class _HoloActivitypublic boolean onPreparePanel(int featureId,
android.view.View view,
android.view.Menu menu)
onPreparePanel in interface android.view.Window.CallbackonPreparePanel in class android.support.v4.app.FragmentActivityprotected void onRestart()
onRestart in class android.app.Activityprotected void onResume()
onResume in class android.support.v4.app.FragmentActivityprotected void onSaveInstanceState(android.os.Bundle outState)
onSaveInstanceState in class _HoloActivityprotected void onStart()
onStart in class android.support.v4.app.FragmentActivityprotected void onStop()
onStop in class android.support.v4.app.FragmentActivityprotected void onTitleChanged(CharSequence title, int color)
onTitleChanged in class android.app.Activitypublic void openOptionsMenu()
openOptionsMenu in class android.app.Activitypublic boolean performAddonAction(IAddonAttacher.AddonCallback<IAddonActivity> callback)
public void requestWindowFeature(long featureIdLong)
requestWindowFeature in class _HoloActivitypublic android.os.Bundle saveInstanceState()
public void setSupportProgress(int progress)
setSupportProgress in class _HoloActivitypublic void setSupportProgressBarIndeterminate(boolean indeterminate)
setSupportProgressBarIndeterminate in class _HoloActivitypublic void setSupportProgressBarIndeterminateVisibility(boolean visible)
setSupportProgressBarIndeterminateVisibility in class _HoloActivitypublic void setSupportProgressBarVisibility(boolean visible)
setSupportProgressBarVisibility in class _HoloActivitypublic void setSupportSecondaryProgress(int secondaryProgress)
setSupportSecondaryProgress in class _HoloActivitypublic void setUiOptions(int uiOptions)
public void setUiOptions(int uiOptions,
int mask)
public ActionMode startActionMode(ActionMode.Callback callback)
startActionMode in class _HoloActivitypublic void supportInvalidateOptionsMenu()
supportInvalidateOptionsMenu in class _HoloActivityCopyright © 2012-2013. All Rights Reserved.