I tried both the Intent-receiver and the onKeyDown Method. Both work fine for most buttons but the Beats Solo Headset has multiple Buttons and only the Play Button is detected, the + / – Buttons don’t trigger the Receiver nor they trigger onKeyDown().
Any ideas?
Ok, I found the problem in the AOSP Tech Specs. There are a lot of HID Interactions that aren’t defined for Android. So I will try to read out the HID code with a scope and map this Key to Android.
Android AOSP // KEYBOARD
EDIT: I connected them to the scope while a menu button press is clearly visible, the + amplitude is pretty small and – is nearly indetectable. I attached both scope screenshots. If anyone has found a solution then contact me please.
NOTE: the screenshot shows the menu button pressed 3 times!