zamuz Posted April 18, 2019 Share Posted April 18, 2019 Device: Xiaomi Mi A1 Android version: 9.0 Poweramp version: v3 Build 823 Report: The app Skip Tracks Settings and others allow long-pressing the volume buttons to skip tracks: https://forum.xda-developers.com/android/apps-games/app-skip-track-volume-keys-t3914337 It works on every music app I've tried except for Poweramp. Apparently Poweramp does catch the commands, judging by the beeps that I hear after trying to skip to the next or previous track, but doesn't actually skip tracks. The Last Processed Commands list from Poweramp has entries like the following: 09:24:56.422 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_NEXT ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=172513786 playerState=1 09:24:58.763 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON KEYCODE_MEDIA_PREVIOUS ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=172516127 playerState=1 I tried the Single press, Double/triple press, and Long press settings in the Wired Headset section, but nothing worked. Am I doing something wrong, or is this a bug? Link to comment Share on other sites More sharing options...
andrewilley Posted April 18, 2019 Share Posted April 18, 2019 Are there corresponding ACTION_UP ending events to match each ACTION_DOWN? Andre Link to comment Share on other sites More sharing options...
zamuz Posted April 18, 2019 Author Share Posted April 18, 2019 12 minutes ago, andrewilley said: Are there corresponding ACTION_UP ending events to match each ACTION_DOWN? There are no ACTION_UP events, that might be the issue. Link to comment Share on other sites More sharing options...
andrewilley Posted April 18, 2019 Share Posted April 18, 2019 I would certainly expect to see a corresponding UP event at the end of a button press. The app that I use for the exact same purpose (headset cable track changing) shows button DOWN and then UP. Andre Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.