> I was wondering if its possible to have a broadcast receiver to listen > when the app its in launches. I tried doing by creating a > BroadcastReceiver to listen for the android.intent.action.MAIN action > but it never gets called? Is there something I need to do or a > different action I should be listening for?
Starting an activity does not involve a broadcast Intent, AFAIK. It involves an *Intent*, but that Intent is not broadcast, but rather is used solely to identify the activity to run. -- Mark Murphy (a Commons Guy) http://commonsware.com Android App Developer Books: http://commonsware.com/books.html --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

