how can i write a Broadcast Receiver that will be invoked when user clicks on any application icon.
- by chinnuthelearner
hai every one,
i have a query.
how can i write a Broadcast Receiver that will be invoked when user clicks on any application icon.
i tried by writing
but it is not called.
i tried,
by using Packagemanager i will get ApplicationInfo from that i can know all the application starting activity name and package names. i thought i can use them to registerReceiver
and my receiver will listen by its launching activity and package name.
but i strucked.. i am unable to do that.. i think i lost the way..
please guide me...