开发者

How to detect if an application has been closed / exited

I have 2 service running in background.. if Service 1 is closed, Service 2 will start up Service 1 again, and vice ve开发者_运维问答rsa, the problem is, I want to know how to detect if that service is closed or exited.


The ActivityManager should be what you are looking for.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜