Android 12 (Google Pixel) and Play/Pause

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

Post Reply
GeroZ
Junior Member
Junior Member
Posts: 20
Joined: 2005-01-13, 22:05 UTC

Android 12 (Google Pixel) and Play/Pause

Post by *GeroZ »

Hi,

Not sure if it's related to the update, but all I can say is: I recently updated my Google Pixel 4a-5G to Android 12, and I can't really control audio playback via the Play/Pause button anymore. This applies to both my car (Ford Fiesta, regular BT connection, not Android Car) and my Anker Soundbuds Flow. — I think the problem existed before Android 12 as well, but I'm not sure.

Thanks in advance!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Android 12 (Google Pixel) and Play/Pause

Post by *ghisler(Author) »

Thanks for your report. I do not currently have any devices with Android 12, so I can only test with the emulator. The play/pause buttons in the player and in the notification area work, so I assume that you mean bluetooth buttons. Play/pause can be simulated via
adb shell input keyevent 85
and indeed there is no reaction on Android 12. There are two methods to handle these buttons, an old and a new method. So far, both have worked on all Android versions, but the new one wasn't supported by some Samsung devices, so I still use the old method everywhere.
I will switch to the new method for Android 12, this does seem to work.
Author of Total Commander
https://www.ghisler.com
Post Reply