how to make service running even if there is no activity running?
<p>Is there any way to keep my background service running indefinitely even if there is no activity of application currently running ?</p>

<p>there is a requirement where user can use other application on the phone and he either closed all application's activities or he moved to other application so the activity of my application goes to pause or stop state so in this case service should not get destroy.</p>

<p>I am not sure how to make it possible because as of now what I observed is whenever i pressed the back button of the phone when i am the first activity of the application, application's service is also get closed.</p>

<p>Please do help me resolve it.Its very urgent.</p>

<p>Regards,
Piks</p>
