Jump to content
Poweramp
Sign in to follow this  
Bauru-SP

Poweramp should read KEYCODE_MEDIA inputs

Recommended Posts

On head units, the physical buttons won't work on Poweramp 3. 
The physical buttons work great on Poweramp 2 build 588. 
They won’t work on Poweramp 3 only.

The reason is because Poweramp 3 won't read KEYCODE_MEDIA inputs. 
It should read the following:

 

  • KEYCODE_MEDIA_FAST_FORWARD
  • KEYCODE_MEDIA_NEXT
  • KEYCODE_MEDIA_PAUSE
  • KEYCODE_MEDIA_PLAY
  • KEYCODE_MEDIA_PLAY_PAUSE
  • KEYCODE_MEDIA_PREVIOUS
  • KEYCODE_MEDIA_REWIND
  • KEYCODE_MEDIA_STOP

 

Once again, Poweramp 2 build 588 reads these inputs; Poweramp 3 doesn't . 

 

Please, support KEYCODE_MEDIA inputs again.

Share this post


Link to post
Share on other sites

Thanks for the request. On Android, these keys are (should be) read by system, which reroutes them to MediaSession handler, which is, of course, implemented and works in Poweramp. I guess some head units don't follow that and some additional workarounds are required. I plan to get one of such headunits into my test lab - hopefully this will help with resolving issues like that, though, the head unit I plan to get (PX5 based Android 8 ) may have no issues with that.

Share this post


Link to post
Share on other sites

Excellent, I have a px5 head unit with android 8 and the problem presents itself. It’s a known problem; it isn’t just me, as you can check here and here.

 

The problem is with steering wheel buttons. They work on Poweramp 2 588, and don’t work on Poweramp 3.

 

Thank you.

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...