BroadcastReceiver for ACTION_MEDIA_BUTTON not working emulator using sdkversion 8 to 11
<p>I wrote some service which uses BroadcastReceiver to capture one of media buttons ("down button"), and it not works emulator</p>

<p>When I tried to run in on sdk version 8 to 11  it doesn't work (my application doesn't receive intent "android.intent.action.MEDIA_BUTTON".i use registerMediaButtonEventReceiver() on AudioManager in order to receive the events.
Content of manifest:</p>

<pre><code>&lt;receiver android:name=".MediaReceiver"&gt;
&lt;intent-filter&gt;
    &lt;action android:name="android.intent.action.MEDIA_BUTTON" /&gt;
&lt;/intent-filter&gt;
</code></pre>

<p></p>

<p>Activity</p>

<pre><code> @Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    context=this;
    setContentView(R.layout.main);
    this.setVolumeControlStream(AudioManager.STREAM_MUSIC);
     mAudioManager = (AudioManager)this.getSystemService(Context.AUDIO_SERVICE);
   mAudioManager.getStreamVolume(AudioManager.STREAM_MUSIC);
    mRemoteControlResponder = new ComponentName(getPackageName(),
            MediaReceiver.class.getName());
       @Override
public void onResume() {
    super.onResume();
    mAudioManager.registerMediaButtonEventReceiver(
            mRemoteControlResponder);

}
@Override
protected void onDestroy() {
    super.onDestroy();

     mAudioManager.unregisterMediaButtonEventReceiver(
                mRemoteControlResponder);


}



  @Override
public void onReceive(Context context, Intent intent) 
{   Log.i("TAG", "111111111111111111onReceive");
  Toast.makeText(context, "BUTTON PRESSED!", Toast.LENGTH_SHORT).show();
    String v_IntentAction = intent.getAction();
    if (Intent.ACTION_MEDIA_BUTTON.equals(v_IntentAction)) {
</code></pre>

<p>it not work............</p>
