Restart app on receiving sms or call
<p>I want to know what exactly happens when app is Settings->Manage Applications->force closed.
Does it calls onDestroy().I want to restart my app if it is force closed by user. How to do this. I was wondering if I can rertart it on receving SMS or call using broadcastReceivers.</p>

<p>Yup I am doing the same thing. I am checking ic my service is running using this code, but it always display "service running" Toast 
      boolean isServiceRunning = AppSettings.getServiceRunning(context);
     if (isServiceRunning)
         {
               Toast.makeText(context,"service running", Toast.LENGTH_LONG).show();
         }
         else 
         {
               Toast.makeText(context,"service stopped", Toast.LENGTH_LONG).show();
     }<br>
  I am writing this in onReceive() of broadcastReceiver 
Please help me with this.</p>
