MobileApp > Android > Activity


The peripheral Class of Activity

    Activity and the inheritance relation are described as follows.

activity.gif


Activity's Life Cycle

activity.jpg


Sequence of Activity

sequence.png

Foreground

Visible

Backing ground activity



Method that can be used


method.png


History Stack

  Activityが生成された場合、前回のActivityをそのままの状態でオブジェクト丸ごとhistory stackというActivityのコレクションに格納する。


Startup mode of Activity

  The ACTIVITY has four start-up mode.


launchMode 属性

 Activityの起動方法には4つの属性有り.

  "standard"(Default Mode)
  "singleTop"
  "singleTask"    ひとつのタスクのみしか開始できません
  "singleInstance"  ひとつのタスクのみしか開始できません

  FLAG_ACTIVITY_NEW_TASK
  FLAG_ACTIVITY_CLEAR_TOP
  FLAG_ACTIVITY_RESET_TASK_IF_NEEDED
  FLAG_ACTIVITY_SINGLE_TOP

  参考:Y.A.M の 雑記帳さん   参考 - Android Dev. サイト



  Back


Front page   New List of pages Search Recent changes   Help   RSS of recent changes