roqerxz / media-button-router

Automatically exported from code.google.com/p/media-button-router
Apache License 2.0
0 stars 0 forks source link

Sometimes pressing Pause will try and launch a different media app #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I have two media apps I use, Audiogalaxy and Pocket Casts. These are all 
that are activated in "media-button-router"
2. I listen to a podcast with Pocket Casts.
3. Exit the app with home button while still listening to a podcast, do 
anything else with the phone and put it to sleep.
4. Press pause on the bluetooth headphones.

What is the expected output? What do you see instead?

The expected output would be that my podcast pauses. 

What actually happens is that Audiogalaxy launches, without 
"media-button-router" asking me what app to divert the control to like it does 
when I first select play.

What version of the product are you using? On what version of android? On what 
device?

media-button-route 1.4.0 
Android 4.0.4
Samsung Galaxy S3

Please provide any additional information below.

Love the App. Brilliant idea and so close to being the perfect solution to 
improve my media experience. 

Original issue reported on code.google.com by parabo...@gmail.com on 18 Oct 2012 at 3:02

GoogleCodeExporter commented 9 years ago
I see this bug report is pretty old, so my answer might not be useful any more, 
but...

It could be that Audiogalaxy is using the maximum media button priority.  

media-button-router needs to be the only app claiming maximum priority for it 
to reliably capture media button presses.  This is why Winamp doesn't work with 
media-button-router.  You can check app priorities for various events by using 
an app called Autostarts (and there are probably other apps that do the same.)  
If this is the problem and you have root, you can modify Audiogalaxy's priority 
to something lower.  Most apps that are good citizens leave their priority at 0.

Original comment by AaronEWe...@gmail.com on 17 Jul 2013 at 9:07