how can i write a Broadcast Receiver that will be invoked when user clicks on any application icon.

Posted by chinnuthelearner on Stack Overflow See other posts from Stack Overflow or by chinnuthelearner
Published on 2010-03-18T16:11:34Z Indexed on 2010/03/18 16:41 UTC
Read the original article Hit count: 260

Filed under:
|

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...

© Stack Overflow or respective owner

Related posts about android

Related posts about android-sdk