Save activity gui state
<p>So I'm writing an app. I would like to be able to press the home key to leave the app, do something else for a moment, then come back to the app by picking it from the launcher. I want the app to have exactly the same state as it did when I left it.
To this end, I have implimented onSaveInstanceState() to create a bundle, and I use this bundle in onCreate() (checking if it is null, of course).</p>

<p>This is what I would expect to happen...<br>
-I install the app from Eclipse<br>
-I launch the app from the launcher<br>
-I press the home key<br>
-onSaveInstanceState() is caled, I write a bundle<br>
-I launch the app again from the launcher<br>
-onCreate() is called, I get the bundle I previously wrote<br>
-I use that bundle to restore my ui</p>

<p>This is what happens though...
-I install the app
-I launch the app from the launcher<br>
-I press the home key<br>
-onSaveInstanceState() is called, bundle is written<br>
-I launch the app again<br>
-onCreate() is called WITHOUT my bundle<br>
-What appears to have happened is that a new activity has been put onto the stack for this task.<br>
-I press the back button<br>
-The activity I just launched is destroyed, and the activity i launched first is displayed, with the correct state!<br>
-Repeat pressing back until back at the homescreen<br>
-The lifecycle now works as expectecd! Even after a reboot, but it fails when I install a new version of the app</p>

<p>What could possibly be doing this, ONLY after installation!</p>
