Jump to content

Recommended Posts

Please specify the following:

  • Poweramp build number:   I just downloaded it from App store
  • your device model:  lexus_mrw1920x720    (android head unit)
  • your Android version: Nougat (7.0)
  • your custom ROM name/version: alps/c200_en/c200_en:5.1.1/JOP40D/1524551747:user/testkeys

Hello,

I just purchased PA, and when I press on the track up/down button on my steering wheel, I hear a beep, but it doesn't change tracks.

 

when I view the "last commands"  I see it is recognizing I pressed the buttons but not sure why it isn't changing the tracks.... Any help would be great! Thanks!

 

 

17:51:49.103 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PREVIOUS ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=307135 playerState=1
==================
17:51:50.927 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_NEXT ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=308958 playerState=1
==================
17:52:18.598 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PREVIOUS ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=336629 playerState=1
==================
17:52:18.856 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PREVIOUS ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=336888 playerState=1
==================
17:52:19.908 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PREVIOUS ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=337936 playerState=1
==================
17:52:20.144 PSMediaButtonReceiver android.intent.action.MEDIA_BUTTON
KEYCODE_MEDIA_PREVIOUS ACTION_DOWN name=Virtual source=0x0 sources=0x301 virt=true repeat=0 actionTime=338176 playerState=1
==================

 

Link to post
Share on other sites

Your device appears to be only sending KEYCODE ACTION_DOWN events (i.e. telling PA that a button has been pressed) but it does not seem to be correctly issuing a follow-up ACTION_UP event which tells PA that the button has been released, which allows the activity to be processed. As far as PA is concerned from this log, the button is being held down permanently.

Andre

Link to post
Share on other sites

I would have thought it would be technically possible for Max to create a PA option which overrides correct button behaviour and treats ACTION_DOWN on its own as the trigger for an action, but it would need to be enabled with caution as that setting would break any long-press options that a device might support.

The proper answer is for the manufacturers of the device to correct their firmware of course, but for a pre-installed car headunit that might be an uphill battle.

Andre

Link to post
Share on other sites

yeah, I just sent a email to the manufacturer  .. I give it a 5% chance they will fix it.   I hope PA will add this option, I really like the look of this player!!

 

I only know python, so I don't think I can figure out how to modify the firmware

 

Thanks!

Link to post
Share on other sites

I just noticed there is an API....  do you think this is something I "could" implement with the API?    Basically I just need to have the UP command triggered whenever it detects a DOWN command....

 

Like I said I never have developed for Android, but I'm not shy about learning

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.

×
×
  • Create New...