Android: Handling Activity stack
<p>I've got the following:</p>

<p>Activities <code>A, B, C, D</code>. <code>A</code> and <code>D</code> can be reached at any time, anywhere from the application.</p>

<p><code>B</code> and <code>C</code> are reached like this: </p>

<pre><code>A -&gt; B -&gt; C
</code></pre>

<p>I have the following use case:</p>

<p>The user has entered <code>C</code> ( <code>A -&gt; B -&gt; C</code> ) then she has gone to <code>D</code>. </p>

<p>When she wants to go to <code>A</code>, I want to transfer her to the already started queue from <code>A</code> - in other words I want her to go to the started <code>C</code>.</p>

<p>Something like this <code>A -&gt; B -&gt; C -&gt; D -&gt; (same) C</code>. But I don't want to lose <code>D</code> from the activity stack. After this, when she presses the "back" button, she is transfered to <code>D</code> again.</p>

<p>Is this possible and correct to do? What is the best practice?</p>

<p>If I haven't explained my situation clear enough, feel free to ask questions.<br/>
10x in advance,<br/>
Danail</p>
