Android multitasking problem
<p>I have an android application which main view consists of a tab-bar with three tabs in it.</p>

<p>When developing and running the application on the device through adb I get the following behavior:</p>

<ul>
<li>When clicking the phone button "Home screen" and relaunching the application it seems as the application continues where I was before pressing the button (remembers selected tab etc...) (apparently its still running in the background).</li>
</ul>

<p>However when I export and sign the application (using Eclipse) it suddenly always seem to start a new instance of the application when returning from home screen.</p>

<p>Why does it behave so different in those cases? And what do I need to do in my application in order to always have the "running in background" behavior.</p>
