日本語の一覧がなくて把握に時間かかった、というかさらっと探したかったので部分的に訳した。
対象としては、Android APIのActivityにあるon~~()というメソッド。
イベント一覧と言っていいのかは微妙だけどまぁいいやという感じで書きました。
なんだか眠れなくて勢いで書いてあるので後日修正すると思います。
対象としては、Android APIのActivityにあるon~~()というメソッド。
イベント一覧と言っていいのかは微妙だけどまぁいいやという感じで書きました。
なんだか眠れなくて勢いで書いてあるので後日修正すると思います。
Notifies the activity that an action mode has finished.
ActionModeが終了したときのイベント | |
Notifies the Activity that an action mode has been started.
ActionModeが開始したときのイベント | |
Called when a Fragment is being attached to this activity, immediately
after the call to its
Fragment.onAttach()
method and before Fragment.onCreate().フラグメントがアタッチされた時のイベントで、Fragment.onAttach()が呼ばれた直後に呼ばれ、Fragment.onCreate()よりも先に呼ばれる。 | |
Called when the main window associated with the activity has been
attached to the window manager.
このActivityと関連付けられたウィンドウマネージャが起動したときに呼ばれる。 | |
Called when the activity has detected the user's press of the back
key.
バックキーが押された時に呼ばれる。 | |
Called by the system when the device configuration changes while your
activity is running.
Activity起動中にシステム設定が代わった時に呼ばれる。 | |
This hook is called whenever the content view of the screen changes
(due to a call to
Window.setContentView or
Window.addContentView).ContentViewに変化があった際に呼ばれる。 | |
This hook is called whenever an item in a context menu is selected.
コンテキストメニューの項目が選択された際に呼ばれる。 | |
This hook is called whenever the context menu is being closed (either by
the user canceling the menu with the back/menu button, or when an item is
selected).
コンテキストメニューが閉じる際に呼ばれるイベント。 | |
Called when a context menu for the
view is about to be shown.コンテキストメニュー開始時に呼ばれるイベント。 | |
Generate a new description for this activity.
Desctiptionが生成された時に呼ばれるイベント。 | |
Define the synthetic task stack that will be generated during Up navigation from
a different task.
保留。 | |
Initialize the contents of the Activity's standard options menu.
Activityの設定メニューが初期化される際に呼ばれる。 | |
Generate a new thumbnail for this activity.
サムネイルを表示するときに呼ばれる。 | |
Standard implementation of
onCreateView(View, String, Context, AttributeSet)
used when inflating with the LayoutInflater returned by getSystemService(String).保留。 | |
Standard implementation of
onCreateView(String, Context, AttributeSet) used when
inflating with the LayoutInflater returned by getSystemService(String).保留。 | |
Called when the main window associated with the activity has been
detached from the window manager.
保留。 | |
Called when a generic motion event was not handled by any of the
views inside of the activity.
一般的な動作(タッチパッド、ジョイスティック、ゲームパッド、マウス、トラックボールなど)のイベントがほかのViewで処理されなかったときに呼ばれる。 | |
Called when a key was pressed down and not handled by any of the views
inside of the activity.
キーが押された時に発生するイベント。 | |
Default implementation of
KeyEvent.Callback.onKeyLongPress(): always returns false (doesn't handle
the event).キー長押し時に発生。 | |
Default implementation of
KeyEvent.Callback.onKeyMultiple(): always returns false (doesn't handle
the event).複数キーが押されているときに呼ばれる。 | |
Called when a key shortcut event is not handled by any of the views in the Activity.
保留。 | |
Called when a key was released and not handled by any of the views
inside of the activity.
キーが離された時に呼ばれる。 | |
This is called when the overall system is running low on memory, and
would like actively running process to try to tighten their belt.
メモリが少なくなったときに呼ばれる。 | |
Called when a panel's menu is opened by the user.
| |
This method is called whenever the user chooses to navigate Up within your application's
activity hierarchy from the action bar.
| |
This is called when a child activity of this one attempts to navigate up.
| |
This hook is called whenever an item in your options menu is selected.
| |
This hook is called whenever the options menu is being closed (either by the user canceling
the menu with the back/menu button, or when an item is selected).
保留。 | |
Prepare the synthetic task stack that will be generated during Up navigation
from a different task.
保留。 | |
Prepare the Screen's standard options menu to be displayed.
保留。 | |
This method was deprecated
in API level 13.
Use the new
Fragment API
setRetainInstance(boolean) instead; this is also
available on older platforms through the Android compatibility package.最近のでは非推奨のメソッド。代わりにsetRetainInstance(boolean)を利用してね。 | |
This hook is called when the user signals the desire to start a search.
検索要求時に呼ばれる。 | |
Called when a touch screen event was not handled by any of the views
under it.
Activity内のViewでタッチイベントが処理されなかったときに呼ばれるイベント。 | |
Called when the trackball was moved and not handled by any of the
views inside of the activity.
Activity内のViewでトラックボール移動時のイベントが処理されなかったときに呼ばれる。 | |
Called when the operating system has determined that it is a good
time for a process to trim unneeded memory from its process.
OSがメモリを空けようとする際に呼ばれるイベント。死の宣告? | |
Called whenever a key, touch, or trackball event is dispatched to the
activity.
キー、タッチ、トラックボールの入力があると呼ばれる。 | |
This is called whenever the current window attributes change.
保留。 | |
Give the Activity a chance to control the UI for an action mode requested
by the system. 保留。 |

コメント