Ola wrote: > The problem is that the service > itself is already started, and a BroadcastReceiver cannot perform > bindService or startService.
A BroadcastReceiver can call startService(). > The only way of communicating between a > BroadcastReceiver and a Service is using peekService. Or a broadcast Intent of its own. Or via shared static data, if the BroadcastReceiver and the Service are in the same application process. > Or can I perhaps > embed a BroadcastReceiver inside my Service in any way? registerReceiver() is available to Service (and Activity and other flavors of Context). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Looking for Android opportunities? http://wiki.andmob.org/hado --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

