There is an error in my Acitivity
<p>I have made an app that when the Acitivity exit,can stop current running service,the code is below:</p>

<pre><code>if(isServiceRunning(HomeActivity.this, "com.jillion.phone.service.JillionService")){
                    stopService(new Intent("com.jillion.service.JILLION_SERVICE"));
                }
moveTaskToBack(true);
</code></pre>

<p>I use <code>moveTaskToBack(true)</code> method when Activity exit.</p>

<p>Then I get the error:</p>

<p><a href="http://img.my.csdn.net/uploads/201211/27/1353983271_9740.png" rel="nofollow">please check this to see the error message</a></p>

<p>sorry about the picure I can only load the picuture for some reason.forgive me if it's not clear enough.</p>

<p>By the way:Service is running on my appliction</p>

<p>Thanks for your help.</p>
