I am using a background service in my application to get the location updates, Everything works great, but when I kill the app (from the recent screen), it displays a message that "Unfortunately app has stopped",while returning the sticky service,I realized that after killing the app, my background service restarts but it crashes my application
Asked
Active
Viewed 322 times
0
-
post ur logcat. and service also. – SRB Bans Jan 24 '18 at 05:45
-
1Welcome to SO, Please refer [this](https://stackoverflow.com/help/how-to-ask) link to know more about asking questions here on SO as your question isn't very descriptive or doesn't includes samples of your efforts or examples. – Ubdus Samad Jan 24 '18 at 05:45
-
I suspect the service is bounded service, if yes can you please post the src here? like how you are binding it and unbinding it – Rupesh Jan 24 '18 at 05:53
-
Please post your `Service` code. – York Shen Jan 25 '18 at 06:12
1 Answers
0
your service and processes (Threads run inside your service) will remain continuous. Redirecting you to the same question Continue Service even if application is cleared from Recent app

Vrushali Raut
- 1,130
- 1
- 10
- 20