I would instead suggest the service just make a BroadcastReceiver inner class, which it explicitly registers in onCreate() with registerReceiver() (and unregisterReceiver() in onDestroy() of course).
On Fri, Aug 28, 2009 at 9:06 PM, GodsMoon <[email protected]> wrote: > > Looks like I answered my own question. > There is a peekService method in BroadcastReceiver for interacting > with existing Services. > > On Aug 28, 11:50 pm, GodsMoon <[email protected]> wrote: > > Can I Receive a Broadcast from a Service? > > It seem I have to extend BroadcastReceiver to receive broadcasts but > > I'm already extending Service and I can't extend 2 classes. > > Do I set up an additional Activity to receive broadcasts and then just > > pass stuff to the already running Service. And if so, how to I pass > > additional info to an existing Service? > > Is there a better way? > > > > Thanks in advance. > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

