Resume Android-App after a few hours
<p>I've written a app with a few activities.
My problem is the following:</p>

<p>I open my app (Activity A started) and select a entry of my listview which starts the second Activity (Activity B) and press the home button.</p>

<p>If I resume the app in-between some minutes (10 or 20 or so on) it loads Activity B and shows all the content which is fine.</p>

<p>If I do the same thing again but now wait a few hours before resuming the app again it looks like android tries to recreate the whole Activity (Activity B).</p>

<p>The problem now is that he is not able to recreate the activity and nothing happens!</p>

<p>I thought I can fix this with overwriting <code>onRestoreInstanceState</code> and simply do a <code>this.finish()</code> which basically works but this method also is called when I rotate the screen and that's stupid.</p>
