Note : Not all system Players support external control. Depending on the manufacturer of your device, some or all functions of this extension may not work.
Some devices may not have volume control and may operate at a fixed volume, and may not enable muting or changing the volume of audio streams.
Also, on some devices, it was noticed that the first command "Play " does not work if the sistem Player is stopped.
It’s not about the application, but whether the installed player supports System Key Event.
Most players support external teams. For example, it allows you to control your music player from a wireless headset. It works for me on Samsung and LG devices.
I’m not sure if this is possible to implement.
The key event will be sent to the current media key event consumer which registered with AudioManager registerMediaButtonEventReceiver.
Therefore, it depends on the implementation of the music player application, not on the system. We will not know if the player is subscribed to listen for key events or not.