Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3845344
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T16:13:48+00:00 2026-05-19T16:13:48+00:00

I have some hardware that sends the AVRCP play command to the phone upon

  • 0

I have some hardware that sends the AVRCP play command to the phone
upon bluetooth connection. What I am seeing is the MEDIA_BUTTON action
intent spammed over and over in the debugger. This is causing problems
with a few apps but mainly Pandora. Pandora will constantly play/pause
over and over. It is almost like the AVRCP command gets sent to the
phone which generates a MEDIA_BUTTON broadcast that keeps getting sent
out over and over.

I set up a Broadcast Receiver to catch it and try to determine what’s
going on. Here is what is being spammed:

01-17 12:20:04.324: ERROR/NPT:(1558):
Intent {
act=android.intent.action.MEDIA_BUTTON
(has extras) } 01-17 12:20:04.324:
ERROR/NPT:(1558): KeyEvent{action=0
code=85 repeat=0 meta=0 scancode=200
mFlags=8}

which is the bluetooth Play/Pause media key. This is what it should
be, as the AVRCP command triggers this, but as I said, it’s like the
OS just keeps spamming this.

I have tried using the abortBroadcast() method to stop it but that has
no effect. I am guessing the broadcast is non-ordered and can’t be
stopped explicitly?

I have verified it is not the hardware spamming the AVRCP command by
debugging my firmware code. The spamming behavior also continues if I
unplug the hardware.

I am using 2.2.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T16:13:49+00:00Added an answer on May 19, 2026 at 4:13 pm

    This has been resolved. Turns out it was a problem with the hardware. I was sending the AVRCP play button down command but never sending the button up command. The phone was basically seeing this as the play button being “held down” so it kept sending the broadcast.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some projects that run on custom hardware. Now the hardware has changed,
I have some Linux code that monitors our hardware by collecting temperatures, voltages, and
We are working with some new Cutting Tools that can have it's hardware parameters
I have some OpenGL code that behaves inconsistently across different hardware. I've got some
I have a closed-source API for some hardware sensor that I use to query
gcc 4.4.3 c89 I have some functions that initialize some hardware and return either
I have several gen_server workers periodically requesting some information from hardware sensors. Sensors may
i have a hardware token for remote login to some citrix environment. When i
I have some UI in VB 2005 that looks great in XP Style, but
We have some input data that sometimes appears with &nbsp characters on the end.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.