Android icon sometimes open new app sometimes brings up old app, help!
<p>I have an android app which i have written, which exhibits some strange behaviour. </p>

<p>When i have an app open, say with three acitivties in the stack</p>

<p>A - B - C</p>

<p>where a is the entry point and C is the currently viewed activity, if i press the home button and reselect the icon for my app sometimes i see A, which on pressing the back button i can see the task now contains the activities </p>

<p>A - B  - C - A</p>

<p>and sometime it just reopens the app in the last state</p>

<p>A - B - C</p>

<p>which is what i want to happen. Could anyone inform me of why the inconsitant behaviour is happening. On both cases i press the icon strait after exiting the app via the home key. </p>

<h1>Thanks for any help!</h1>

<p>ps i have also asked this question on anddev <a href="http://www.anddev.org/viewtopic.php?p=32699#32699" rel="nofollow">here</a></p>
