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
<receiver android:name = "myreceiver">
<intent-filter>
<action android:name = "android.intent.action.MAIN">
</intent-filter>
</receiver>
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...
thanks in advance..
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en