質問編集履歴
1
Activityの定義について追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -57,3 +57,71 @@
|
|
57
57
|
|
58
58
|
|
59
59
|
起動履歴は、どのように起動するアクティビティを選択しているのでしょうか?
|
60
|
+
|
61
|
+
|
62
|
+
|
63
|
+
なお、AndroidManifest.xmlでの定義ですが、以下の通りです。
|
64
|
+
|
65
|
+
|
66
|
+
|
67
|
+
アクティビティの定義ですが、以下の通りです。
|
68
|
+
|
69
|
+
|
70
|
+
|
71
|
+
```lang-xml
|
72
|
+
|
73
|
+
<activity
|
74
|
+
|
75
|
+
android:name=".activity.ActivityA"
|
76
|
+
|
77
|
+
android:screenOrientation="portrait"
|
78
|
+
|
79
|
+
android:label="@string/app_name"
|
80
|
+
|
81
|
+
android:launchMode="singleTask"
|
82
|
+
|
83
|
+
android:noHistory="true"
|
84
|
+
|
85
|
+
>
|
86
|
+
|
87
|
+
<intent-filter>
|
88
|
+
|
89
|
+
<action android:name="android.intent.action.MAIN" />
|
90
|
+
|
91
|
+
<category android:name="android.intent.category.LAUNCHER" />
|
92
|
+
|
93
|
+
</intent-filter>
|
94
|
+
|
95
|
+
</activity>
|
96
|
+
|
97
|
+
<activity
|
98
|
+
|
99
|
+
android:name=".activity.ActivityB"
|
100
|
+
|
101
|
+
android:screenOrientation="portrait"
|
102
|
+
|
103
|
+
android:label="@string/app_name"
|
104
|
+
|
105
|
+
android:launchMode="singleTask"
|
106
|
+
|
107
|
+
android:noHistory="true"
|
108
|
+
|
109
|
+
>
|
110
|
+
|
111
|
+
</activity>
|
112
|
+
|
113
|
+
<activity
|
114
|
+
|
115
|
+
android:name=".activity.ActivityC"
|
116
|
+
|
117
|
+
android:screenOrientation="portrait"
|
118
|
+
|
119
|
+
android:label="@string/app_name"
|
120
|
+
|
121
|
+
android:launchMode="singleTask"
|
122
|
+
|
123
|
+
>
|
124
|
+
|
125
|
+
</activity>
|
126
|
+
|
127
|
+
```
|