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 attribute

縲To start "Activity", there are the four attributes.

縲縲"standard"シDefault Modeシ
縲縲"singleTop"
縲縲"singleTask"縲縲縲縲縺イ縺ィ縺、縺ョ繧ソ繧ケ繧ッ縺ョ縺ソ縺励°髢句ァ九〒縺阪∪縺帙s
縲縲"singleInstance"縲縲縺イ縺ィ縺、縺ョ繧ソ繧ケ繧ッ縺ョ縺ソ縺励°髢句ァ九〒縺阪∪縺帙s

縲縲FLAG_ACTIVITY_NEW_TASK
縲縲FLAG_ACTIVITY_CLEAR_TOP
縲縲FLAG_ACTIVITY_RESET_TASK_IF_NEEDED
縲縲FLAG_ACTIVITY_SINGLE_TOP



縲縲Back

     




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