registerReceiver issue with in-app billing messages?
<p>I'm implementing in-app billing support in my application. I just realized that even though the application has been stopped, the standard billing broadcast receiver is still receiving billing messages from the market service. So, instead of declaring my receiver inside the manifest file:</p>

<pre><code>    &lt;receiver android:name=".receiver.billing.BillingReceiver"&gt;
        &lt;intent-filter&gt;
            &lt;action android:name="com.android.vending.billing.IN_APP_NOTIFY" /&gt;
            &lt;action android:name="com.android.vending.billing.RESPONSE_CODE" /&gt;
            &lt;action android:name="com.android.vending.billing.PURCHASE_STATE_CHANGED" /&gt;
        &lt;/intent-filter&gt;
    &lt;/receiver&gt;
</code></pre>

<p>I decided to go with the Context.registerReceiver method in order to ensure that my application is actually ready to correctly handle billing messages:</p>

<pre><code>    _billingReceiver = new BillingReceiver();
    final IntentFilter filter = new IntentFilter("com.android.vending.billing.IN_APP_NOTIFY");
    filter.addAction("com.android.vending.billing.RESPONSE_CODE");
    filter.addAction("com.android.vending.billing.PURCHASE_STATE_CHANGED");
    _billingService.registerReceiver(_billingReceiver, filter);
</code></pre>

<p>The problem now is that BillingReceiver.onReceive is not called anymore. Is there an issue of some kind preventing billing messages to be sent to dynamically registered receivers. I looked through Google/Android's doc and found nothing.</p>
