0

I have one service which is running every 5 minutes

so every 5 minutes service is started and do some work and then finish and again after 5 minutes it will be started because i have set interval time of repeat to 5 minutes

Now if i want to stop that service and if i don't want to start service any more then what i have to do?

Please help me?

Dharmendra
  • 33,296
  • 22
  • 86
  • 129

1 Answers1

1

You should perfrom cancel() on the pendingIntent.

Vladimir Ivanov
  • 42,730
  • 18
  • 77
  • 103