On Jan 24, 1:50 am, Dianne Hackborn <[email protected]> wrote: > There are lots of examples of using the AlarmManager in ApiDemos, including > ones that use <receiver>. I suggest looking there. > > Fwiw, using registerReceiver() with the alarm manager is generally pretty > pointless, since the main use of the alarm manager is to ensure your app > gets launched even if it isn't running, and if it isn't running your > registerReceiver() no longer exists.
How about if the the BroadcastReceiver is an inner class? It can't be used with <receiver>. This is if I want to call an activity and do a refresh from an alarm. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

