I have a receiver that has to react to ringer mode changes. I tried declaring the said receiver using the manifest file. According to everything I've read on the web, this should be a pretty straightforward task. I've been able to receive SMS messages using this method but for some reason it won't work for ringer mode changes.
After some fiddling around I found that my receiver works just fine if I explicitly register it using registerReceiver(). However the receiver gets unregistered when the activity that called registerReceiver() finishes. To get around this I had a service register the receiver. This works but I don't like the fact that a service is running in the background when in theory (as far as I know) my first approach should work. Am I doing something wrong? Do I need additional permissions to make this work? or was this behaviour inteded by Google? -- 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

