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

<blockquote>
  <p>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 <code>Context.registerReceiver()</code> method</p>
</blockquote>

<p>My question is this:</p>

<ul>
<li>Does it work the same as <code>&lt;Receiver&gt;</code> in manifest file of android?</li>
</ul>

<p>As from my test <code>&lt;Receiver&gt;</code> in manifest file it work whenever my app is opening or not, but the <code>Context.registerReceiver()</code> seem to work only when my app is opening.</p>

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