- The added line is THIS COLOR.
- The deleted line is THIS COLOR.
#freeze
''[[MobileApp>Mobile Application Guide]]'' > ''[[Android>Introduction to Android]]'' > ''Activity''
~
*Activity を取り巻くクラス [#o0a80281]
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]
*Activity's Life Cycle [#s8e08332]
#ref(activity.jpg,nolink);
~
*Activity のシーケンス [#o62c0353]
*Sequence of Activity [#o62c0353]
#ref(sequence.png,nolink);
**フォアグラウンド [#g42bbf6a]
**ビジブル [#hfe1a50e]
**バックグラウンドアクティビティ [#s9949908]
**Foreground [#g42bbf6a]
**Visible [#hfe1a50e]
**Backing ground activity [#s9949908]
*利用したいメソッド [#ybf700bb]
~
~
*Method that can be used [#ybf700bb]
~
#ref(method.png,nolink);
~
*Historyスタック [#e0f23e70]
*History Stack [#e0f23e70]
Activityが生成された場合、前回のActivityをそのままの状態でオブジェクト丸ごとhistory stackというActivityのコレクションに格納する。
~
*Activityの起動モード [#d69766ff]
Activityには、4種類の起動モードがある~
*Startup mode of Activity [#d69766ff]
The ACTIVITY has four start-up mode.~
***launchMode 属性 [#of4a0d38]
アクティビティの起動方法には4つの属性有り.~
~
"standard"(デフォルト モード)~
***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~
[[参考:Y.A.M の 雑記帳さん>http://y-anz-m.blogspot.com/2010/08/android_10.html]]
参考 - [[Android Dev. サイト>http://developer.android.com/intl/ja/guide/topics/fundamentals.html#lmodes]]
~
~
*参考サイト [#xce87684]
アクティビティ実装時の勘所~
http://codezine.jp/article/detail/4842~
~
画面遷移~
http://d.hatena.ne.jp/hidecheck/20091202/1259767425
~
''[[Back>Introduction to Android]]''