Prabin Kumar Das Prabin Kumar Das - 1 year ago 67
Android Question

Run service after killing from background in all android devices

I want a service to run always in background so that I can receive notifications always, also after removing the app from task manager by swipping out

Answer Source

When you remove app from task manager it ends process and your service is running in that process. You have to run service in different process. you can do it in manifest file

<service 
    . . .
         android:process="string" >
</service>
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download