IntentService will be killed after I stop my application
<p>I am referring to <a href="http://stackoverflow.com/questions/3817272/android-design-considerations-asynctask-vs-service-intentservice">android design considerations: AsyncTask vs Service (IntentService?)</a></p>

<p>According to the discussion, <strong><em>AsyncTask does not suit, because it is tightly "bound" to your Activity</em></strong></p>

<p>So, I launch a <code>Thread</code> (I assume AsyncTask and Thread belong to same category), have an infinity running loop in it and did the following testing.</p>

<ul>
<li>I <strong>quit</strong> my application, by keeping pressing on back soft key, till I saw home screen. Thread is still running.</li>
<li>I <strong>kill</strong> my application, by going to <strong><em>Manage apps -> App -> Force stop</em></strong>. Thread is stopped.</li>
</ul>

<p>So, I expect after I change from <code>Thread</code> to <code>Service</code>, my <code>Service</code> will keep alive even after I <strong>quit</strong> or <strong>kill</strong> my app. </p>

<hr>

<pre><code>Intent intent = new Intent(this, SyncWithCloudService.class);
startService(intent);
</code></pre>

<hr>

<pre><code>public class SyncWithCloudService extends IntentService {
    public SyncWithCloudService() {
        super("SyncWithCloudService");
    }

    @Override
    protected void onHandleIntent(Intent intent) {
        int i = 0;
        while (true) {
            Log.i("CHEOK", "Service i is " + (i++));
            try {
                Thread.sleep(1000);
            } catch (InterruptedException ex) {
                Log.i("CHEOK", "", ex);
            }
        }
    }
}
</code></pre>

<hr>

<pre><code>    // Doesn't matter whether I use "android:process" or not.
    &lt;service 
        android:name="com.xxx.xml.SyncWithCloudService" 
        android:process=".my_process" &gt;
    &lt;/service&gt;
</code></pre>

<hr>

<p>However, my finding is that,</p>

<ul>
<li>I <strong>quit</strong> my application, by keeping pressing on back soft key, till I saw home screen. Service is still running.</li>
<li>I <strong>kill</strong> my application, by going to <strong><em>Manage apps -> App -> Force stop</em></strong>. Service is stopped.</li>
</ul>

<p>It seems that the behaviour of <code>Service</code> and <code>Thread</code> are the same. So, why I should use <code>Service</code> instead of <code>Thread</code>? Is there anything I had missed out? I thought my <code>Service</code> suppose to keep running, even after I kill my app?</p>
