I need a service that will be destroyed when activity is destroyed. the problem is that activities onDestroyed is not always called and I want the service to keep running if the user press home and the activity status is onStop.
Asked
Active
Viewed 39 times
1
-
2read this: http://stackoverflow.com/questions/35249861/stop-service-in-activity-ondestroy – T.S Dec 05 '16 at 22:00