Forum Xamarin.Android
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

Headset button event Android c#

How do I intercept button presses on the headset in Android and add a action to them ?

Best Answer


  • I want to know too, if a good soul could help us. :)

  • CheesebaronCheesebaron DKInsider, University mod

    Create a BroadcastReceiver with an IntenFilter which filters: android.intent.action.MEDIA_BUTTON.

  • VsouzaVsouza BRMember

    CheeseBaron, could you be more specific ?


  • VsouzaVsouza BRMember

    CheeseBaron, thanks a lot !!!!

    It's worked for me!!

Sign In or Register to comment.