0

In my app, I use one service that should be run even app got killed. Even though I don't want to use Foreground service that will include notification that I don't want to include.

I want to run that service to get current time of device every second. If I use simple service and if app got killed. I don't get time every second.. Its not dynamic

Aangi810
  • 1
  • 3
  • Possible duplicate of [How do I keep a Service alive indefinitely](http://stackoverflow.com/questions/18219657/how-do-i-keep-a-service-alive-indefinitely) – zombie Mar 12 '17 at 23:11
  • Above link you mentioned, It can be done by Foreground Service but I don't want to include notification. Is there any other way to be done? @zombie – Aangi810 Mar 13 '17 at 02:36
  • 1
    also that was asked here http://stackoverflow.com/q/10962418/6689101 – zombie Mar 13 '17 at 08:30
  • please do some search before asking – zombie Mar 13 '17 at 08:30
  • Possible duplicate of [How to startForeground() without showing notification?](http://stackoverflow.com/questions/10962418/how-to-startforeground-without-showing-notification) – Sam Apr 17 '17 at 09:35

0 Answers0