Detecting Bluetooth Headphones Key Press Android

182 Views Asked by At

I am trying to detect key presses of the Bluetooth headset. Overriding onKeyDown and dispatchKeyEvent methods can detect normal headphones presses but not the Bluetooth ones. The other questions related to this topic are from ages ago, so they are not useful because of deprecated methods, etc.

0

There are 0 best solutions below