Android Broadcast onReceive method not called from service
<p>I have a service that sends an sms. I have a broadcast receiver that is registered to notify me when the sms has been sent or not sent. The problem now is in the emulator (froyo), everything works fine when an sms is sent and when it isn't. However on my phone (galaxy S i9000, darky rom 9.3), and on my friends HTC with cyanogenmod 7, the service sends the sms but there are no notifications, if i switch my phone to airplane mode and run the app, i received notifications telling me that the messages weren't sent (which is expected). On investigating, I realised that the onReceive method of my broadcast isn't called at all when the sms is sent.  In logcat i also realised that in the emulator the smsmager sends the message, on my phone, the SMSDispatcher sends the message and SMSDispatcher is an internal android class that isn't part of the public api so i cant access it. Any ideas?</p>
