How to inform your (not started) app from a Boot_completed receiver?
<p>I have registered a BOOT_COMPLETED Receiver in my application, i want to listen for changes on SMS Database. </p>

<p>The BroadcastReceiver starts a temporary Service which registers the ContentObserver.
Now i want to notify my main activity (which is not started) that the Observer was registered successful.
(I want to do this, because if a user installs the app for the first time he don't restart his phone but needs the ContentObserver too. If you have another idea how to do that you can post it. I just want the information that the observer is registered already)</p>

<p>My idea was to notify the activity with a static attribute: 
    MyActivity.sObserverRegistered = true</p>

<p>But i think that is not good and doesn't work because the activity isn't started and this is ignored. Any idea how to solve the problem?</p>

<p>thanks</p>
