''[[MobileApp>Mobile Application Guide]]'' > ''[[Android>Introduction to Android]]'' > ''Activity''


~
*The peripheral Class of Activity [#o0a80281]
    Activity and the inheritance relation are described as follows. 
#ref(activity.gif,nolink);

~

*Activity's Life Cycle [#s8e08332]
#ref(activity.jpg,nolink);

~
*Sequence of Activity [#o62c0353]
#ref(sequence.png,nolink);


**Foreground [#g42bbf6a]
**Visible [#hfe1a50e]
**Backing ground activity [#s9949908]


~
~

*Method that can be used [#ybf700bb]
~
#ref(method.png,nolink);

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

~

*Startup mode of Activity  [#d69766ff]
  The ACTIVITY has four start-up mode.~

~

***launchMode attribute [#of4a0d38]
***LaunchMode attribute [#of4a0d38]
 To start "Activity", there are the four attributes.~

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


  FLAG_ACTIVITY_NEW_TASK~
  FLAG_ACTIVITY_CLEAR_TOP~
  FLAG_ACTIVITY_RESET_TASK_IF_NEEDED~
  FLAG_ACTIVITY_SINGLE_TOP~


~



~
  ''[[Back>Introduction to Android]]''

Front page   Edit Diff Backup Upload Copy Rename Reload   New List of pages Search Recent changes   Help   RSS of recent changes