AFAIK that is not possible ---------------------------------------------------------------------- There are only 10 types of people in the world... Those who know binary and those who don't. ----------------------------------------------------------------------
On Thu, Mar 18, 2010 at 8:59 AM, mike <[email protected]> wrote: > 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... > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > [email protected]<android-beginners%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > > To unsubscribe from this group, send email to android-beginners+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject. > -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en To unsubscribe from this group, send email to android-beginners+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.

