How do I make a Home Screen Application not be recreated when pressing the home button
<p>Pardon my dodgy explanation in the title. What happens is: I'm trying to make a home screen application. So far so good, I made the app launcher that launches an application when executed. But, if for example I press the home screen to be taken back to my application, instead of continuing the activity from onResume() it relaunches the application from onCreate();</p>

<p>this is the code i use to launch e new activity:</p>

<pre><code>PackageManager pm=getPackageManager();
Intent intent = pm.getLaunchIntentForPackage(applications.get(c).pname);
startActivity(intent);  
</code></pre>

<p>Any idea how I can make it so that when I press the Home button it doesn't relaunch the whole app?</p>
