Starting an Activity or Service with its own memory space
<p>I have a memory intensive process that needs to run and still allow the user to continue using the application. The application will throw out of memory errors if the user uses the app while this process is running. The following code launches an app from another app.</p>

<pre><code>ntent intent = new Intent(Intent.ACTION_MAIN); 
intent.setComponent(new ComponentName("com.package.address","com.package.address.MainActivity"));
startActivity(intent);
</code></pre>

<p>Is it possible to start an activity or service that lives inside an application as a new application or have it run outside the memory space of the currently running application? </p>

<p>I read about the android:launchMode attribute but it does not look like any of the attribute values will work. </p>

<p>I also read about creating a global service but the documentation does not state anything about where the service runs. Does a global service run in its own memory space or the memory of the application using it?</p>

<p>Any suggestions would be greatly appreciated.</p>

<p>Chris</p>
