How to stop a service in android?
android may also kill service forcefully in cases of low memory
all above options are rite
One can stop a service using 1.stopSelf() or 2.stopService(). There are some situations where android may also kill running services in case if it requires memory and phone is running out of memory(low memory).
Back To Top