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.
精彩评论