I start a service in an activity then I want the service to stop itself after a while.
I called stopSelf() in the service but it doesn\'t work.
How to make t
stopForeground(true); stopSelf();