Not receiving ACTION_CAMERA_BUTTON broadcast event
<p>I want to handle ACTION_CAMERA_BUTTON using broadcast receiver. I have added the following in androidmanifest file</p>

<pre><code>&lt;receiver android:name="MappedKeysIntentReceiver"&gt;
        &lt;intent-filter android:priority = "999"&gt;
            &lt;action android:name="android.intent.action.ACTION_CAMERA_BUTTON" /&gt;
        &lt;/intent-filter&gt;
    &lt;/receiver&gt;
</code></pre>

<p>But I dont get the broadcast on pressing the camera button, how ever if I register manually then I am receiving the event. 
Could anyone throw some light on this behavior. I want the receiver to be specified in manifest file instead of registering it manuayyly. I have tried it on lg optimus gt540 and Milestone both are running 2.1 android os.</p>

<p>Thanks</p>
