Does Context.registerReceiver() register only when Application is running?
<p>I wonder one thing about android Context.registerReceiver(). and i see on android website it said this </p>

<pre><code>There are two ways to make a broadcast receiver known to the system: One is declare it in the manifest file with this element. The other is to create the receiver dynamically in code and register it with the Context.registerReceiver() method
</code></pre>

<p>my Question is this</p>

<ol>
<li>Does it work the same as  in manifest file of android?</li>
</ol>

<p>as from my test  in manifest file it work whenever my app is opening or not, but the Context.registerReceiver() seem to work only when my app is opening.</p>

<p>Please correct me if i'm wrong.</p>

<p>Thanks,
Raksa</p>
