Code Monkey home page Code Monkey logo

media-button-router's People

Contributors

harleensahni avatar

Watchers

 avatar

media-button-router's Issues

n7Player doesn't play ball

Just wanted to report that n7Player always seems to grab the key presses, 
before MBR gets a chance to redirect them.

I have therefore switched from n7Player to PlayerPro.

PlayerPro (music player) and Dog Catcher (podcast player) work very well 
together.

I am using Android 2.3.7 (Kernel 2.6.35.14) on HTC HD2 (Hyperdroid ROM).

Original issue reported on code.google.com by [email protected] on 29 May 2012 at 9:21

Add a preference page to hide media applications from showing in the selector.

Some users may have media apps installed that they never intend to use with 
media buttons. Having these applications show up in the list of apps to a 
handle media button press is cumbersome. Add a preference page that allows the 
user to select which apps to show/hide. 

The preference page will likely be a list with checkboxes, the image, for the 
app, and the app name.

NOTE: If one of these hidden apps is playing music and a media button is 
pressed, this shouldn't prevent the app from handling the button press as 
normal. 

Original issue reported on code.google.com by [email protected] on 4 Jul 2011 at 3:55

Crash after some items were removed from the selector list.

What steps will reproduce the problem?
1. Press the media play/pause button.
2. When the selector comes up, choose the bottom one on the list.
3. Open up the Media Button preferences screen and uncheck the last app on the 
list.
4. Press the media play/pause button. 

At this point you'll get a crash.

I've attached a patch to fix this.

Original issue reported on code.google.com by [email protected] on 26 Dec 2011 at 7:22

Attachments:

Text to speech check

What steps will reproduce the problem?
1. User doesn't have TTS installed
2. User uses app, doesn't hear any speech
3. User uninstalls app

What is the expected output? What do you see instead?
Prompt user to install TTS 

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 14 May 2011 at 4:10

Samsung gear media buttons only work once. Then default to Samsung music app

What steps will reproduce the problem?
1 . press play on Samsung gear. 
2. Select desired player
3. Try and pause the music and the Samsung music app starts playing

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


What version of the product are you using? The latest one at time of post. On 
what version of android?4.3 On
what device? Note 3 with Samsung gear watch


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 26 Oct 2013 at 9:17

App Compatibility - Audible

What steps will reproduce the problem?

1. Install Media Button Router
2. Install Audible (Audio Book Player App)
3. Open Media Button Router and scroll to "Apps To show In The Selector"

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

I hope to see Audible listed as an app available for control via Media Button 
Router.  Instead, I only see Pandora, iHeartRadio, and Spotify.

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

Media Button Router: 1.3.1
Audible: 1.3.6
Android: 4.0.2

Please provide any additional information below.

This is the response I got from Audible when I asked them about the issue.  
What is the technical difference between Audible and the apps that do work with 
Media Button Router?  Is it possible to modify MBR to accommodate Audible?  If 
Audible were to change something, what would it need to be?

We are aware that our App (and others) are having compatibility issues with 
Android 4.0 as related to Bluetooth functionality.  In general, all apps other 
than the native Android "Music" app are not receiving Play/Pause commands via 
Bluetooth in Android 4.0.

This is not an issue with the 3rd party app Media Button Router, but will 
affect Bluetooth headsets as well.

I have researched this issue in the past, because I myself have a Galaxy Nexus. 
 I will share you with you the link to the official Google Code thread:

http://code.google.com/p/android/issues/detail?id=23172

Audible, Google, as well as developers of other apps are all working toward a 
fix at this time.  I hope that this link is helpful in answering some of your 
questions and concerns, and perhaps you can follow (or "Star") it for progress 
and updates.

Original issue reported on code.google.com by [email protected] on 10 Jan 2012 at 3:31

Can't figure out main activity for registered media button receiver user selected

Have one of these reports. It looks like I can't figure out the main activity 
for the media button receiver. I should show some toast and fail cleanly, or 
just filter out apps that i can't find the main activity for. Need to look at 
code again.  No idea what app the user was going for so I can repo.
java.lang.NullPointerException
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1374)
at android.app.Activity.startActivityForResult(Activity.java:2873)
at android.app.Activity.startActivity(Activity.java:2983)
at com.harleensahni.android.mbr.Utils.forwardKeyCodeToComponent(Utils.java:107)
at 
com.harleensahni.android.mbr.ReceiverSelector.forwardToMediaReceiver(ReceiverSel
ector.java:586)
at 
com.harleensahni.android.mbr.ReceiverSelector.select(ReceiverSelector.java:644)
at 
com.harleensahni.android.mbr.ReceiverSelector.onTimeout(ReceiverSelector.java:67
1)
at 
com.harleensahni.android.mbr.ReceiverSelector.access$4(ReceiverSelector.java:652
)
at 
com.harleensahni.android.mbr.ReceiverSelector$4$1.run(ReceiverSelector.java:550)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:3806)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
at dalvik.system.NativeStart.main(Native Method)

Original issue reported on code.google.com by [email protected] on 3 Jul 2011 at 4:01

Does not work with inline wired remotes

What steps will reproduce the problem?
1. Press any button on inline wired remote

What is the expected output? What do you see instead?
Should be handled by Media Button Router, but is not.  MBR does not seem to 
intercept wired remote buttons?

What version of the product are you using? On what version of android? On what 
device?
Samsung Vibrant, Bionix 1.3.1 (Android 2.2 mod).

The info page says this is "geared" towards bluetooth media buttons.  Is there 
any support at all for wired headsets?  A definite answer on the page would 
lessen confusion, since I had to try this out to see if it might work or not.  
Thanks!

Original issue reported on code.google.com by rocketmonkeys on 29 Jul 2011 at 4:18

MBR should not add recently update apps to the App List

What steps will reproduce the problem?
1. Update media enabled app
2. MBR will now show that app in the selector

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

Respect users  choice of apps to show in the selector. Annoying to have to 
deselect apps after an update.

What version of the product are you using? 
1.4.0

what version of android? 

4.1


what device?

Galaxy Note 2


Original issue reported on code.google.com by [email protected] on 31 Oct 2013 at 3:05

Media Button Router not working on Samsung Galaxy Note Edge

What steps will reproduce the problem?
1.Enable MBR
2.Connect via bluetooth
3.

What is the expected output? 
MBR visible.
What do you see instead?
Nothing.

What version of the product are you using? 
1.5.1
On what version of android? 
4.4.4
On what device?
Samsung Galaxy note edge (verizon)

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 19 Jan 2015 at 8:21

Add option for background playback

Add an option to initiate playback of the desired app *without* bringing that 
app to the foreground. Call option "Bring app to foreground on Play". Of 
course, this new option should be enabled by default to remain consistent with 
the default behavior of previous versions. 


Original issue reported on code.google.com by johnnyzero2 on 4 Mar 2012 at 2:54

Hitting play doesn't cause selection in selection list screen (ICS)

What steps will reproduce the problem?
1. Running in Android 4.0 and bluetooth device connected, hit a media button
2. Selector screen opens, you can navigate with << or >> on your stereo
3. Hit play to select an item, doesn't work. 

This is because keycodes changed in ICS for play, but I didn't change the 
keycode for play on the selection screen.

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


Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 28 Dec 2011 at 3:54

Sometimes pressing Pause will try and launch a different media app

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 [email protected] on 18 Oct 2012 at 3:02

app doesn't work if only one media app is ticked in the settings

What steps will reproduce the problem?
1. Select only one app in the settings (I use BubbleUpnp)

2. Hit play on Bluetooth headset

3. Nothing happens

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

The media app should play immediately, and preferably no selector should be 
shown nor chk sound should be heard.

What version of the product are you using? 

1.4.0

On what version of android? On
what device?

4.2.1 On Nexus 4.

Please provide any additional information below.

I only care to use 1 media app, but the phone by itself won't launch it (if it 
is not already running) when I hit the headset play button. So I got Media 
Button Router, which should work when 1 app is in the settings. Unfortunately 
it only works when at least 2 apps are in the settings, which is suboptimal for 
people who like to use a single player, because it adds delay and sometimes 
guesses the wrong one.

Original issue reported on code.google.com by [email protected] on 13 Dec 2012 at 12:52

Offer "Default" option

What steps will reproduce the problem?
1.Hit media button.
2.Don't select an app.
3.Times out, no music plays. 

What is the expected output? What do you see instead?
This is fine, but we should offer an option to default to last app in 
preferences. Then when timeout occurs, whatever the last music app the user 
selected will get the action. This way they don't have to do two button presses 
to play. 

A user suggested a "default" behavior in the comments. Not sure if this is what 
they meant.

Original issue reported on code.google.com by [email protected] on 20 May 2011 at 11:01

Android Text to speech check is failing?

Why can't android find an activity to handle this? this is the way that the doc 
says to check for tts installed. it shouldn't fail.

java.lang.RuntimeException: Unable to start activity 
ComponentInfo{com.harleensahni.android.mbr/com.harleensahni.android.mbr.MediaBut
tonConfigure}: android.content.ActivityNotFoundException: No Activity found to 
handle Intent { act=android.speech.tts.engine.CHECK_TTS_DATA }
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2757)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2775)
at android.app.ActivityThread.access$2500(ActivityThread.java:130)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2121)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:143)
at android.app.ActivityThread.main(ActivityThread.java:4773)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.content.ActivityNotFoundException: No Activity found to 
handle Intent { act=android.speech.tts.engine.CHECK_TTS_DATA }
at 
android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1408)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1378)
at android.app.Activity.startActivityForResult(Activity.java:2853)
at 
com.harleensahni.android.mbr.MediaButtonConfigure.onCreate(MediaButtonConfigure.
java:47)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2721)
... 11 more

Original issue reported on code.google.com by [email protected] on 3 Jul 2011 at 4:04

Enable/disable text-to-speech prompt

Add an option to disable the "Play with x" text-to-speech prompt.


Original issue reported on code.google.com by johnnyzero2 on 4 Mar 2012 at 3:04

Not working on Galaxy Note II

What steps will reproduce the problem?
1. Click on Play button. Media Button Router popup appears.
2. Select any application from the list. Nothing happens.

What is the expected output? What do you see instead?
Application should have been launched and start playing.


What version of the product are you using? On what version of android? On
what device?
- Using latest version from Play Store
- Running on Galaxy Note II (GT-N7100)
- Android Version 4.1.1



Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 17 Dec 2012 at 8:31

Enhancement: add option to forward events only if the configured receiver is already started

The issue is as follows:
you may use your car radio paired with bluetooth to output
messages from your phone navigation app. Unfortunately the radio responds
after each message from the phone with a media play command which causes
the configured media app starting up playing.(not sure whether this is a bug or 
a feature... it is like that)   
Disabling all apps for receiving media button events would be a solution but 
then you loose the opportunity to control your media player at all.
So my idea is t to check whether the configured app is already loaded and if 
so,then forward the button events. If not running do nothing. This behavior 
shall be selectable by an additional checkbox.


What version of the product are you using? On what version of android? On
what device?
I9300, Android 4.1.2


Original issue reported on code.google.com by [email protected] on 29 Dec 2013 at 9:36

Highlight "timeout app" in selector

Provide a visual indication of which app will play on timeout.

Original issue reported on code.google.com by johnnyzero2 on 4 Mar 2012 at 3:18

  • Merged into: #3

when lock screen is enabled, use of program will not allow screen to turn off.

What steps will reproduce the problem?
1.enable pattern lock screen
2.run program by turning player off and on thru media button router a few times
3.lock screen will show the program but then the screen will not turn off.

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

When using headest using the program causes the display to turn on. This is 
causing battery drain because on the lock screen the program freezes the screen 
to the on position for some reason. Regardless I love this program so it gets 5 
stars. But please try and fix this one thing. Small little option would fix it 
perfect. 
What version of the product are you using?latest
 On what version of android? Tmobile m919 samsung galaxy s4. Android 4.2.2 rooted.


Original issue reported on code.google.com by [email protected] on 4 Sep 2013 at 10:21

Support selecting no apps to handle media buttons

A couple of users have emailed me asking for the ability to do nothing when 
media buttons are pressed. Now that we have app hiding in preferences, we 
should handle the case where users have hid every app by doing nothing on media 
button presses (unless music is playing, then stay out of the way).

Original issue reported on code.google.com by [email protected] on 30 Dec 2011 at 3:06

Play/Pause should always be directed to the last media app that had control

What steps will reproduce the problem?
1. Install a few media players (Google Listen, Google Music, Tunein
2. Play one of these and hit pause on your bluetooth headset
3. Hit play again media-button-router shows your 3 media players and will 
default to one of them. Let's say Google Listen.
4. Start one of the other media players like say Google Music. Play some music.
5. Hit pause again. Google Music stops playing. Google Music is the last media 
app that had control because it answered to the pause key.
6. Hit play again. Media-button-router again displays the list of 3 media apps. 
Google Listen is "highlighted". If you wait a bit Google Listen will start 
playing.

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

I expected Google Music, not Google Listen, to start playing. 

What version of the product are you using? 

1.4.0

On what version of android? 

4.0.4

On what device?

Galaxy Nexus

Please provide any additional information below.

I think an option should be provided to "Play/pause last media app"

Oh and thank you, thank you, thank you for making this app. I use bluetooth and 
listen to podcasts and music all the time. When I got my Galaxy Nexus and 
discovered the bluetooth play/pause was being ignored by all media apps I was 
mad. This fixed it for me but I'd like to see the above implemented. If I wish 
to "switch apps" from say Music to Listen to Tunein I can do that manually. But 
more often than not I just want to pause and resume playback on the currently 
running and playing media app.


Original issue reported on code.google.com by [email protected] on 2 Jun 2012 at 7:43

Display Visual Indication of selection.

What steps will reproduce the problem?
1. Launch Media Button Router 
2. Navigate the List using BT headset controls
3. Observe that there's no visual indication of the selection except the list 
scrolling to keep the selection in view. The only real indication is through 
the text-to-speech.

What is the expected output? What do you see instead?
Would be nice to display selection to the user using the selector that shows up 
on keyboard nav of lists. This is PITA to do. The only way I could do it before 
was simulating keyUp and keyDowns to navigate the list, but that doesn't  let 
us do wrapping behavior cleanly. 

Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 19 May 2011 at 1:37

doesn't work since update to lollipop

What steps will reproduce the problem?
1. Hasn't been working since updated to lollipop on moto x 2nd gen
2.
3.

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


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


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 3 Mar 2015 at 8:39

Rhapsody doesn't show up as option even though selected

What steps will reproduce the problem?
1. Select Rhapsody in the list of apps to show in the selector.
2. Press play on bluetooth device.  It's a computer in this case.

What is the expected output? What do you see instead?
I expect to see Rhapsody in the list of choices for playback.  Instead, 
Rhapsody is not a choice even though the other selections are there.  
Additionally, when I go back to the app to see the current selections, Rhapsody 
is no longer checked.


What version of the product are you using? On what version of android? On
what device?
I am using version 1.5.1 of the app.
I am on version 4.3 of Android
I am using a rooted HTC One.


Please provide any additional information below.
Thank you for this app!  It is just what I need, if it will work.


Original issue reported on code.google.com by [email protected] on 11 Feb 2014 at 2:46

Ability to launch custom apps.

Please add the ability to launch user selected apps.

This will be useful for anyone using a Pressy, Mi Key device or other clone.

I would love to be able to use an open source trusted app for this purpose.


Thank you!

Original issue reported on code.google.com by [email protected] on 30 May 2014 at 7:51

SiriusXM Internet Radio does not show up as one of the media button

What steps will reproduce the problem?
1. Install latest SiriusXM Internet Radio app 2.2.0.68
2. Launch Media Button Router
3. App does not show up in the music app list

What is the expected output? What do you see instead?
App should show up as one of the music app list.

What version of the product are you using? On what version of android? On
what device?
1.4.0 on Samsung Galaxy S2 Skyrocket running Android 4.0.4 ICS

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 11 Oct 2012 at 12:33

Provide option to not pause waiting for media app selection when hitting the play button

What steps will reproduce the problem?
1. When paused, hit play. You must wait before playback is resumed.

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

I expect the last media app to immediately start playing.

What version of the product are you using? 

1.4.0

On what version of android?

4.0.4

On what device?

Galaxy nexus

Please provide any additional information below.

Perhaps provide a "No timeout" or "Play immediately" selection to Timeout speed 
in the settings.

Original issue reported on code.google.com by [email protected] on 3 Jun 2012 at 7:25

Support MyTunes player

Would it be possible to add support for MyTunes player? It is a very good 
player with support for replaygain and dynamic playlists. But it has problems 
with my car's handsfree.

Thank You!

Original issue reported on code.google.com by [email protected] on 16 Jan 2012 at 3:48

Support different profiles based on the connected headset

Support having different profiles based on the connected headset. In order to 
have a particular headset always use a single media app, just have single app 
in that headsets profile. 

This feature will be complicated to implement. 

Original issue reported on code.google.com by [email protected] on 4 Mar 2012 at 6:56

Doesn't work with Cyanogenmod 11

What steps will reproduce the problem?
1. Install and enable Media Button Router 
2. Connect to car stereo Bluetooth 
3.

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

Expect to see Media Button Router interface with choice of apps to start 
playing. 

Instead, random app starts playing. Media Button Router does not appear.  

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

Tested with Media Button Router on Cyanogenmod 11 on Nexus 4 and OnePlus One. 

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 13 Dec 2014 at 6:28

Does not work on Android 5.x

What steps will reproduce the problem?
1. Pressing play on BT headset

What is the expected output? What do you see instead?
MBR should ask for the prefeted player. However MBR
doesn't do anything.

What version of the product are you using? On what version of android? On
what device?
I use version 1.5.1 on a Sony Xperia Z1 with CM12.1 (Android 5.1.1)

Please provide any additional information below.
I saw it working once directly after (re)installation. A reboot
does not change anything.

Original issue reported on code.google.com by [email protected] on 16 May 2015 at 8:36

Voice prompt way too loud, painful with headset

What  steps will reproduce the problem?
1.
2.
3.

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


What version of the product are you using? On what version of android? On
what device? HTC Rezound, ICS 


Please provide any additional information below. Love the app, exactly what I 
needed. Would like to lower voice prompt volume though, unless I missed a 
setting.  Thanks. 


Original issue reported on code.google.com by [email protected] on 20 Sep 2012 at 10:17

Disable media buttons for short period right after bt connection established

Purpose:
To provide cleaner experience to users who are using app to primarily stop car 
bluetooth auto-connect from blasting them with music

Good number of comments on market about how people are using media button 
router to stop their cars from playing music automatically. Some feature 
requests are even just for media buttons to do *nothing*. Apparently some 
bluetooth devices will send a play media button event after they bt sync (which 
can happen automatically). This causes music to play right away when you get in 
the car and is annoying. There's also a lot of comments on bluetooth issue on 
android about same thing. 

Enhancement:
Have a "saftey" that is activated for x seconds after a bluetooth connection 
occurs. If the device receives a media button event soon after bluetooth 
connection is established just flat out ignore it and do nothing.

Original issue reported on code.google.com by [email protected] on 3 Jul 2011 at 3:45

Using this software prevents lock screen music controls

Using Jelly Bean on Galaxy Nexus.

Installing this software stops the lock screen music controls from working. 
Uninstalling brings the lock screen controls back.

Original issue reported on code.google.com by david.carrington on 29 Jun 2012 at 8:03

Does not list Youtube in the list of the apps ?

What steps will reproduce the problem?
1.Just use the app and try to search youtube in the list.
2.
3.

What is the expected output? What do you see instead?
Youtube is not listed. Would like to use youtube with this app.

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


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 6 May 2015 at 11:14

Exclusive mode

What steps will reproduce the problem?
1. Pick a single app in preferences screen
2. Install a new music or update an existing app that's been excluding
3. Hit media button. 

What is the expected output? What do you see instead?
New apps and apps that haven been hidden in the past but updated and have their 
receiver signature change show up in the list.

There should be an option so they don't and the default is that unknown apps 
are excluded.


Please use labels and text to provide additional information.


Original issue reported on code.google.com by [email protected] on 7 Jan 2012 at 5:22

Own TTS settings

What steps reproduce the problem?
1. Congigure Getman Pico TTS speech as default in Android
2. Use MBR

What is the expected output? What do you see instead?
MBR should use the English language for TTS, even if an
other is configured in Android. English is the language
of the app. When using something else with TTS, it sounds
strange. MBR should always use English TTS.

What version of the product are you using? On what version of android? On
what device?
Xperia Z1 with Slimrom 4.4.4


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 17 Apr 2015 at 8:04

Not working on ICS

What steps will reproduce the problem?
1. Run Media Button Router on a phone with ICS

What is the expected output? What do you see instead?
My Nexus S was upgraded to ICS (Android Version 4.1, Build IML63B).
Prior to that, it ran perfectly on Gingerbread. Now it does not respond to any 
of the buttons (Play/Pause, FF, RW) on ICS.

What version of the product are you using? On what version of android? On what 
device?
Product: Latest from Market (Nov. 21 version)
Android OS: ICS 4.1 Build IML63B
Device: Nexus S


Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 7 Dec 2011 at 7:58

Amazon Mp3 doesn't show up in list of music apps to forward events to

What steps will reproduce the problem?
1. Install Amazon Mp3
2. Fire a media event
3. Observe that amazon mp3 doesn't show up

What is the expected output? What do you see instead?
That you would see and be able to select amazon mp3 to forward media events to.

More info: Amazon Mp3 does indeed handle media button events (verified by 
disabling media button router). It looks like it is registering it's broadcast 
receiver solely through 
AudoManager#registerMediaButtonEventReceiver(ComponentName) and that the 
Broadcast Receiver is not declared in the android manifest. First, this goes 
against the documentation on registerMediaButtonEventReceiver which states that 
the receiver must be declared in the manifest. Second, 
PackageManager#queryBroadcastReceivers() doesn't know about broadcast receivers 
that are registered programmatically: 
http://groups.google.com/group/android-developers/msg/5fd1cdb24b2a6760

Two options are to either get Amazon to add their reciever to their manifest, 
or, to detect amazon mp3 as being installed, and create special code to have 
it's receiver included in the list. Second route will be brittle since I'll 
have to hardwire the name of the receiver. 

Original issue reported on code.google.com by [email protected] on 21 Apr 2011 at 6:19

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.