最終更新:2015-07-09 (木) 20:32:09 (1473d)  

android.app.Activity はてなブックマークを見る
Top / android.app.Activity

http://developer.android.com/reference/android/app/Activity.html

メモ

  • すべてのアクティビティはonCreateを実装する

継承

サブクラス

主なメソッド

Android/インテント

メソッド一覧

  • Activity.addContentView?(View view, ViewGroup.LayoutParams params)
  • Activity.closeContextMenu?()
  • Activity.closeOptionsMenu?()
  • Activity.createPendingResult?(int requestCode, Intent data, int flags)
  • Activity.dismissDialog?(int id)
  • Activity.dispatchGenericMotionEvent?(MotionEvent ev)
  • Activity.dispatchKeyEvent(KeyEvent event)
  • Activity.dispatchKeyShortcutEvent?(KeyEvent event)
  • Activity.dispatchPopulateAccessibilityEvent?(AccessibilityEvent? event)
  • Activity.dispatchTouchEvent?(MotionEvent ev)
  • Activity.dispatchTrackballEvent?(MotionEvent ev)
  • Activity.dump?(String prefix, FileDescriptor? fd, PrintWriter? writer, String[] args)
  • Activity.findViewById(int id)
  • Activity.finish?()
  • Activity.finishActivity?(int requestCode)
  • Activity.finishActivityFromChild?(Activity child, int requestCode)
  • Activity.finishAffinity?()
  • Activity.finishFromChild?(Activity child)
  • Activity.getActionBar?()
  • Activity.getApplication?()
  • Activity.getCallingActivity?()
  • Activity.getCallingPackage?()
  • Activity.getChangingConfigurations?()
  • Activity.getComponentName?()
  • Activity.getCurrentFocus?()
  • Activity.getFragmentManager()
  • Activity.getIntent?()
  • Activity.getLastNonConfigurationInstance?()
  • Activity.getLayoutInflater?()
  • Activity.getLoaderManager?()
  • Activity.getLocalClassName?()
  • Activity.getMenuInflater?()
  • Activity.getParent?()
  • Activity.getParentActivityIntent?()
  • Activity.getPreferences?(int mode)
  • Activity.getRequestedOrientation?()
  • Activity.getSystemService?(String name)
  • Activity.getTaskId?()
  • Activity.getTitle?()
  • Activity.getVolumeControlStream?()
  • Activity.getWindow?()
  • Activity.getWindowManager?()
  • Activity.hasWindowFocus?()
  • Activity.invalidateOptionsMenu?()
  • Activity.isChangingConfigurations?()
  • Activity.isChild?()
  • Activity.isFinishing?()
  • Activity.isTaskRoot?()
  • Activity.managedQuery?(Uri uri, String[] projection, String selection, String[] selectionArgs, String sortOrder)
  • Activity.moveTaskToBack?(boolean nonRoot)
  • Activity.navigateUpTo?(Intent upIntent)
  • Activity.navigateUpToFromChild?(Activity child, Intent upIntent)
  • Activity.onActionModeFinished?(ActionMode? mode)
  • Activity.onActionModeStarted?(ActionMode? mode)
  • Activity.onAttachFragment?(Fragment fragment)
  • Activity.onAttachedToWindow?()
  • Activity.onBackPressed()
  • Activity.onConfigurationChanged?(Configuration? newConfig)
  • Activity.onContentChanged?()
  • Activity.onContextItemSelected?(MenuItem? item)
  • Activity.onContextMenuClosed?(Menu? menu)
  • Activity.onCreateContextMenu?(ContextMenu? menu, View v, ContextMenu.ContextMenuInfo? menuInfo)
  • Activity.onCreateDescription?()
  • Activity.onCreateNavigateUpTaskStack?(TaskStackBuilder? builder)
  • Activity.onCreateOptionsMenu?(Menu? menu)
  • Activity.onCreatePanelMenu?(int featureId, Menu? menu)
  • Activity.onCreatePanelView?(int featureId)
  • Activity.onCreateThumbnail?(Bitmap outBitmap, Canvas canvas)
  • Activity.onCreateView?(View parent, String name, Context context, AttributeSet? attrs)
  • Activity.onCreateView?(String name, Context context, AttributeSet? attrs)
  • Activity.onDetachedFromWindow?()
  • Activity.onGenericMotionEvent?(MotionEvent event)
  • Activity.onKeyDown(int keyCode, KeyEvent event)
  • Activity.onKeyLongPress?(int keyCode, KeyEvent event)
  • Activity.onKeyMultiple?(int keyCode, int repeatCount, KeyEvent event)
  • Activity.onKeyShortcut?(int keyCode, KeyEvent event)
  • Activity.onKeyUp?(int keyCode, KeyEvent event)
  • Activity.onLowMemory?()
  • Activity.onMenuItemSelected?(int featureId, MenuItem? item)
  • Activity.onMenuOpened?(int featureId, Menu? menu)
  • Activity.onNavigateUp?()
  • Activity.onNavigateUpFromChild?(Activity child)
  • Activity.onOptionsItemSelected?(MenuItem? item)
  • Activity.onOptionsMenuClosed?(Menu? menu)
  • Activity.onPanelClosed?(int featureId, Menu? menu)
  • Activity.onPrepareNavigateUpTaskStack?(TaskStackBuilder? builder)
  • Activity.onPrepareOptionsMenu?(Menu? menu)
  • Activity.onPreparePanel?(int featureId, View view, Menu? menu)
  • Activity.onRetainNonConfigurationInstance?()
  • Activity.onSearchRequested?()
  • Activity.onTouchEvent(MotionEvent event)
  • Activity.onTrackballEvent?(MotionEvent event)
  • Activity.onTrimMemory?(int level)
  • Activity.onUserInteraction?()
  • Activity.onWindowAttributesChanged?(WindowManager.LayoutParams params)
  • Activity.onWindowFocusChanged?(boolean hasFocus)
  • Activity.onWindowStartingActionMode?(ActionMode.Callback? callback)
  • Activity.openContextMenu?(View view)
  • Activity.openOptionsMenu?()
  • Activity.overridePendingTransition?(int enterAnim, int exitAnim)
  • Activity.recreate?()
  • Activity.registerForContextMenu?(View view)
  • Activity.removeDialog?(int id)
  • Activity.requestWindowFeature(int featureId)
  • Activity.runOnUiThread(Runnable action)
  • Activity.setContentView(int layoutResID)
  • Activity.setContentView(View view)
  • Activity.setContentView(View view, ViewGroup.LayoutParams params)
  • Activity.setDefaultKeyMode?(int mode)
  • Activity.setFeatureDrawable?(int featureId, Drawable drawable)
  • Activity.setFeatureDrawableAlpha?(int featureId, int alpha)
  • Activity.setFeatureDrawableResource?(int featureId, int resId)
  • Activity.setFeatureDrawableUri?(int featureId, Uri uri)
  • Activity.setFinishOnTouchOutside?(boolean finish)
  • Activity.setIntent?(Intent newIntent)
  • Activity.setProgress?(int progress)
  • Activity.setProgressBarIndeterminate?(boolean indeterminate)
  • Activity.setProgressBarIndeterminateVisibility?(boolean visible)
  • Activity.setProgressBarVisibility?(boolean visible)
  • Activity.setRequestedOrientation?(int requestedOrientation)
  • Activity.setResult(int resultCode)
  • Activity.setResult(int resultCode, Intent data)
  • Activity.setSecondaryProgress?(int secondaryProgress)
  • Activity.setTitle?(int titleId)
  • Activity.setTitle?(CharSequence title)
  • Activity.setTitleColor?(int textColor)
  • Activity.setVisible?(boolean visible)
  • Activity.setVolumeControlStream?(int streamType)
  • Activity.shouldUpRecreateTask?(Intent targetIntent)
  • Activity.showDialog(int id, Bundle args)
  • Activity.showDialog(int id)
  • Activity.startActionMode?(ActionMode.Callback? callback)
  • Activity.startActivities?(Intent[] intents, Bundle options)
  • Activity.startActivities?(Intent[] intents)
  • Activity.startActivity(Intent intent)
  • Activity.startActivity(Intent intent, Bundle options)
  • Activity.startActivityForResult(Intent intent, int requestCode)
  • Activity.startActivityForResult(Intent intent, int requestCode, Bundle options)
  • Activity.startActivityFromChild?(Activity child, Intent intent, int requestCode, Bundle options)
  • Activity.startActivityFromChild?(Activity child, Intent intent, int requestCode)
  • Activity.startActivityFromFragment?(Fragment fragment, Intent intent, int requestCode, Bundle options)
  • Activity.startActivityFromFragment?(Fragment fragment, Intent intent, int requestCode)
  • Activity.startActivityIfNeeded?(Intent intent, int requestCode, Bundle options)
  • Activity.startActivityIfNeeded?(Intent intent, int requestCode)
  • Activity.startIntentSender?(IntentSender? intent, Intent fillInIntent?, int flagsMask, int flagsValues, int extraFlags, Bundle options)
  • Activity.startIntentSender?(IntentSender? intent, Intent fillInIntent?, int flagsMask, int flagsValues, int extraFlags)
  • Activity.startIntentSenderForResult?(IntentSender? intent, int requestCode, Intent fillInIntent?, int flagsMask, int flagsValues, int extraFlags, Bundle options)
  • Activity.startIntentSenderForResult?(IntentSender? intent, int requestCode, Intent fillInIntent?, int flagsMask, int flagsValues, int extraFlags)
  • Activity.startIntentSenderFromChild?(Activity child, IntentSender? intent, int requestCode, Intent fillInIntent?, int flagsMask, int flagsValues, int extraFlags)
  • Activity.startIntentSenderFromChild?(Activity child, IntentSender? intent, int requestCode, Intent fillInIntent?, int flagsMask, int flagsValues, int extraFlags, Bundle options)
  • Activity.startManagingCursor?(Cursor? c)
  • Activity.startNextMatchingActivity?(Intent intent)
  • Activity.startNextMatchingActivity?(Intent intent, Bundle options)
  • Activity.startSearch?(String initialQuery, boolean selectInitialQuery?, Bundle appSearchData?, boolean globalSearch)
  • Activity.stopManagingCursor?(Cursor? c)
  • Activity.takeKeyEvents?(boolean get)
  • Activity.triggerSearch?(String query, Bundle appSearchData?)
  • Activity.unregisterForContextMenu?(View view)

ソースコード

関連