Difference between task and process in Android
<p>I'm a bit confused about the difference between a task and a process in Android.</p>

<p>If I understand correctly a task is just a stack of activities. From what I read so far I <em>think</em> a task could look like this:</p>

<pre><code>| Activity A running in Process P1 |
| Activity B running in Process P2 |
| Activity C running in Process P3 |
</code></pre>

<p>So basically activities from different processes can be contained in the same stack. Am I correct?</p>

<p><strong>Another question</strong>: What is the real meaning of "application context"? The process or the task?</p>

<p>And <strong>final question</strong>: The application class (which is basically a singleton) represents the process or the task?</p>
