开发者

How detect a program starts on android?

I want to detect a program starts on android. I know i should code a service and broadcast receiver.the problem is i do not know what intent filter should i开发者_运维问答 use?

EDIT1 : for example i want to know if user wants to start contact manager.

thanks and regards


I don't think this is possible directly through Intents and service/broadcast receivers as this would constitute a major security issue. Take a look at these other proposed solutions. The best one would be to replace the launcher if the user allows it.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜