pperrin / media-button-router Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/media-button-router
License: Apache License 2.0
Automatically exported from code.google.com/p/media-button-router
License: Apache License 2.0
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
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
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
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
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
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.