Headset button event Android c#

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

Best Answer

Answers

  • 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 ?

    Thanks!!!!

  • VsouzaVsouza BRMember

    CheeseBaron, thanks a lot !!!!

    It's worked for me!!

Sign In or Register to comment.