Looks like the media button situation changes in Android 2.2; see
here:

http://android-developers.blogspot.com/2010/06/allowing-applications-to-play-nicer.html

They added a function called registerMediaButtonEventReceiver that you
are supposed to call when you show the GUI for a music app.  This
makes media button events go to you and only you.  The idea is that
audio apps should call it when they are activated, and that way the
media button always goes to the audio app that the user was last
using.

It's an improvement on the "priority arms race", but the problem is
that now there's no way to respond to a media button event without
blocking it for other apps.  I hope they restore that ability later.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to