Confirmed users
975
edits
(→MAIN/VIEW start up: Change to Path) |
(Add start up type) |
||
Line 115: | Line 115: | ||
-->{{#if:|<span id=""></span>}}<!-- | -->{{#if:|<span id=""></span>}}<!-- | ||
-->{{#if:|<span class="error">Error in {{tl|anchor}}: too many anchors, maximum is 10.</span>}}Glossary == | -->{{#if:|<span class="error">Error in {{tl|anchor}}: too many anchors, maximum is 10.</span>}}Glossary == | ||
=== | === Start up "type" === | ||
This is an aggregation of all of the variables that make up a start up, described more fully below. Currently, these variables are: | |||
* state | |||
* path | |||
For example, a type of start up could be described as <code>cold_main</code>. | |||
=== Start up "state": COLD/WARM/HOT === | |||
"State" refers to how cached the application is, which will impact how quickly it starts up. | "State" refers to how cached the application is, which will impact how quickly it starts up. | ||
Line 123: | Line 130: | ||
* HOT = basically just foregrounding the app: the process and HomeActivity are already created | * HOT = basically just foregrounding the app: the process and HomeActivity are already created | ||
=== | === Start up "path": MAIN/VIEW === | ||
"Path" refers to the code path taken for this start up. We name these after the <code>action</code> inside the <code>Intent</code>s received by the app [https://developer.android.com/reference/android/content/Intent#ACTION_MAIN such as <code>ACTION_MAIN</code>] that tell the app what to do: | "Path" refers to the code path taken for this start up. We name these after the <code>action</code> inside the <code>Intent</code>s received by the app [https://developer.android.com/reference/android/content/Intent#ACTION_MAIN such as <code>ACTION_MAIN</code>] that tell the app what to do: | ||
* MAIN = a start up where the app icon was clicked. If there are no existing tabs, the homescreen will be shown. If there are existing tabs, the last selected one will be restored | * MAIN = a start up where the app icon was clicked. If there are no existing tabs, the homescreen will be shown. If there are existing tabs, the last selected one will be restored |