开发者

Stop pending intent

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?


You should perfrom cancel() on the pendingIntent.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜