Hey all, can anyone point me in the right direction?

I've got a service that is playing music, while it is running, I want
it to be notified of incoming phone calls and pause itself. I believe
this means I need to set up a BroadcastReceiver and register it. Can
anyone give me a quick sample of how to register such a Receiver
programmaticly (it shouldn't be registered when the service isn't
running so I can't put it in the manifest)?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to