Does anyone know what is the "proper" way of subscribing for the "action.MEDIA_BUTTON" - (this is sent by the button on the headset and currently controls the play/pause of the built in player).
The built in music application, registers a broadcast receiver for that action in the AndroidMainfest which explicitly ties it to that button. If another player wants to "hijack" the button it probably has to register I higher priority receiver and abort the broadcast chain so the media player does not get it. Would it be better to register for it dynamically (for example when the player is playing, or the application window is open) or register in AndroidManifest which theoretically will prevent the built in player form ever working. Has anyone had experience handling this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---