Related
HTC's Audio Manager is crap. To add insult to injury it takes over AVRCP controls such that no other application can use them. On an HTC Hero try the following - download and install some other audio player. For example, Google Listen for podcasts or TuneWiki or BeyondPOD. Next connect a AVRCP capible Bluetooth headset like a Sony Ericson HBH-DS980. Press play on the head set and insure that play plays music in the HTC Audio Manager (IOW that Music thingy on the HTC Hero). Insure that Play/Pause on the headset plays or pauses the audio program.
Now start Google Listen (or TuneWiki, or whatever) and play some audio material. Now press Play/Pause on the headset again. You'll see that you'll have two programs playing instead of one. IOW the AVRCP Play/Pause button controls only the HTC Audio Manager.
Therefore I'd like to turn off/uninstall/disable/kill the AVRCP stealing HTC Audio Manager program.
HTC did this same stupid thing on my HTC Touch running WinMo. However a company called Conduit who makes PocketPlayer figured out how to wrestle away AVRCP control from the HTC Audio Manager (and I was able to use a program to disable the Music tab where the HTC Audio Manager lived). So surely there's a programmatic way to accomplish this at least on WinMo - surely there should be a way to disable this on Android! Anybody know of any solutions? This is driving me nuts!
Anybody?!?
Note I figured out that I can root my phone then remove /system/app/HtcMusic.apx and HtcMusic.odex and the HTC Music thing is disabled. The widget is still on the home screen but it fails to start the player stating it's not there. Unfortunately all control of AVRCP is gone too!
Seems to me I just need to install the standard driver for AVRCP. Anybody know anything about that?
defaria said:
Anybody?!?
Note I figured out that I can root my phone then remove /system/app/HtcMusic.apx and HtcMusic.odex and the HTC Music thing is disabled. The widget is still on the home screen but it fails to start the player stating it's not there. Unfortunately all control of AVRCP is gone too!
Seems to me I just need to install the standard driver for AVRCP. Anybody know anything about that?
Click to expand...
Click to collapse
This may not be the best solution, and there's probably someone who can answer the question better than I can... but you could always try a non-HTC ROM for the Hero, aka a Vanilla Android ROM.
Yes, I would like a 1.6 or 2.x version of Android. Do you know where I can get one for a Sprout CDMA based Hero? Also I'd like to have the original Sprint ROM so I can flash back if required. Although I like the HTC Sense stuff i'd give that up of I cam fix this HTC Audio Manager crap. Still an HTC Hero ROM with Sense but minus the HTC Audio Manager bug would be very useful to many.
I had the same problem. So I debugged a little bit and found out the following:
The problem:
Normally an Android device should broadcast a "MEDIA_BUTTON" action when the AVRCP buttons on the bluetooth headset get pressed so that applications like music player can react on these events. It seems that HTC decided to ignore this and uses some other (non-standard) way of doing this on the HTC Hero (maybe on other phones too, I don't know).
My workaround:
I found out that at least l can see the button press events in the device logs. So I implemented a workaround application for myself, which simply monitors these logs. When it finds one of these AVRCP messages it broadcasts the "MEDIA_BUTTON" event which normally the platform should send. I know, this is an ugly way of doing this (because it needs a running service, monitoring the logs) but currently I see no other way.
This enables other applications to react on the headset buttons!
You still need to disable or remove the HTC music app or both applications will react on the buttons! I simply deleted it from my Hero (see instruction below).
As I saw here today that others might be interested in this workaround too, I published my app in the market a few moments ago. It's named "Headset Button Fix".
I cannot guarantee that it works for you, because I had only my headset (Nokia BH 503) for testing and I am not sure if the log messages are the same for other headsets. Just give it a try.
And finally, here the instructions how I removed the HTC music player from my (rooted) HTC Hero:
# Make the phone's filesystem read/writable:
> adb remount
# copy the HTC Music app in the current directory
# (for backup, if you want to reinstall it later)
> adb pull /system/app/HtcMusic.apk ./
# Delete the HTC music app on the phone
> adb shell rm /system/app/HtcMusic.apk
# Restart your phone afterwards.
Hope I could help someone with this..
johnny
Short update:
I found a much more elegant way to receive the headset button press events. Now my application directly receives the AVRCP broadcast intents from Android and re-broadcasts it correctly as MEDIA_BUTTON events for other music players.
So this solution is not ugly anymore (of course, working AVRCP on stock Hero would be the best, but now I can live with it).
I published this new version 2.0 in the market. Search for "Headset Button Fix"
As it does not need logcatting anymore, it needs far less resources!!
(You still have to get rid of the HTC music player. I'm afraid there is no way to prevent it from also start playing, except uninstalling it.)
So long..
Enjoy it.
Will try this later
i have a Sony audiocar with bluetooth AD2P and was wandering the same thing
ok
don't work with my audio car (sony mex-bt2500 )
Hmm.. sorry to hear this. So it seems not to work with every headset..
Hi again!
I quickly wrote a simple debug application which registers a receiver for the same events and simply prints them out. When you look at the screenshot you see how it looks like when I press buttons on my headset.
You could try this with your car system. If don't see anything in the output, then my workaround will not work for you. If you just see different command strings (in the EXTRA_FIELD_OP) then I could adapt my application.
Let me know what you get..
john
P.S.: You have to rename the attachement "DebugAVRCP.zip" to "DebugAVRCP.apk" as the forum seems not to allow .apk attachements.
My bad
its working
but i had to change my player : MortPlayer for Meridian (which have an option to activate Headset Buttons
it works great
but, is it possible to add an option to your app to automaticaliy run it and enable it when we activate bluetooth??
Thanks.
I have a lot of work at the moment, but I also was thinking about this. I will continue working on this next weekend.
regards,
john
As the OP of this thread I was anxious to try this out - but I had been in the process of moving so I'm only now getting back to this. Alas it didn't work for me. Yes I can remove the HtcMusic.apk and I have installed the Headset Button Fix. But pushing play on my headset does not stop or start the player I probably will be using most - Google Listen. You see I listen to podcasts most often and Google Listen's pretty good. It's also free and in the market place so could you download it and try it?
Also, what "player" are you using that works?
As for headset I use the Sony Ericson HBH-DS980. I love 'em! They work very well and are quite convenient. I fail to see how they would be different than any other Bluetooth device. I mean isn't an AVRCP pause control the same for all Bluetooth devices?!?
Other questions:
. Removing HtcMusic.apk removes the HTC Audio Manager music thingy, but you should probably remove that HTC Music widget (com.htc.MusicWidget.apk) too.
. As an installer, couldn't you rename HtcMusic.apk -> HtcMusic.apk.save and com.htc.Music.Widget.apk -> com.htc.Music.Widget.apk.save on install and rename them back on uninstall?
. It would be nice if this could be set up to auto start - and perhaps get rid of the little icon for those of us who would like it to always be running in the background
I would like to work with you - perhaps offline - to get this working for me and all other HTC Hero owners who might have a Bluetooth headset and want to use Google Listen, etc. You can contact me at [email protected].
This just in - I installed MortPlayer to pick a music player to test with. It works! AVRCP works with MortPlayer - just doesn't work with Google Listen! Wonderful! Who do I complain to now? Is it possible for us to debug this?
hi!
was having all the same problems (but with mixzing, I do not know Listen). This nice app makes me happy again about having bought a bluetooth headset!
@uninstall/rename:
AFAIK it's not possible for an application to rename/uninstall other applications on install. Additionally the HTC player is not installed in the "normal" app area, but under /system/ (that's the reason why you cannot uninstall it the standard way).
So I assume there will be no easier option than doing this as root via adb.
and @icon:
on my hero I can deactivate it in the preferences
and yes: autostart on headset connect would be nice!
Ok, tried today with Google Listen:
Seems to work partly (while having Headset Button Fix running). It does not react on the Play/pause button, but "Stop", "Next Track", "Previous Track" seem to work for me (while listening).
As far as I understand this is an issue of Listen but I am not sure about this. What they definitly did not implement is to react on AVRCP when the app is not started yet (some music player do start up then). To do this the app would have to register a BroadcastReceiver via its Manifest.xml file which it doesn't.
Maybe somebody could test the Play/Pause behaviour on a different phone (not a Hero), where AVRCP works normally. If then the behaviour is the same, then probably the Listen app is to blame.
hope that helps..
Pause/Play is all I really want. My Bluetooth headset doesn't have a Stop button and Stop would be the wrong thing to do as it would loss my place in the track. I cannot for the life of me understand why this is so difficult nor why one would implement Stop/Next/Prev but not Play/Pause!!! Makes no sense.
Then again I still haven't figured out why Google Listen seems to be behind WRT podcast feeds. For example, I use Banshee on my Linux box. I've subscribed to, for example, Security Now. Banshee shows and has downloaded the latest episode. But Google Listen? Just has a refresh menu selection. Select that and it thinks for a while but no new Security Now episode. Why does Banshee know about it but not Google Listen? Aren't they both going to the same source RSS feed? Shouldn't they both recognize there's a new episode?!?
Who do I contact exactly to submit bugs/etc. for Google Listen?....
Ah here's the link: http://listen.googlelabs.com
Note they say:
Can I use my Bluetooth headset?
Definitely. In fact, we love using Listen with wireless headsets. Using a headset with A2DP capability, you can get you audio content right in your ear, and often use the headset controls as well.
Click to expand...
Click to collapse
Note the use of the term often! Ugh!
Guess it's off to their forums...
Anybody know of a good podcatcher for Android that works with AVRCP?
(a) solution for audio manager problem..
A solution (I know, not the beauty price) to solve the problem of parallel controlling audio manager and music player (in my case museek), w/o rooting my fone, and deleting audio manager:
I've recorded a nice 3 minute piece of SILENCE with recorder, named it SILENCE, and started audio manager with playlist 'my records' (only containing before mentioned silence recording). Following, start Headset Button Fix (great program!), and Museek; result: although headset still commands audio manager aswell, it only skips/ replays/ forwards the silence recording, and my music on Museek is OK, replay-able, forward-able.. I knows it's a noobie's solution; but it works! (for folks, who like me, don't want to root their Hero)
johnny_z said:
I had the same problem. So I debugged a little bit and found out the following:
The problem:
Normally an Android device should broadcast a "MEDIA_BUTTON" action when the AVRCP buttons on the bluetooth headset get pressed so that applications like music player can react on these events. It seems that HTC decided to ignore this and uses some other (non-standard) way of doing this on the HTC Hero (maybe on other phones too, I don't know).
My workaround:
I found out that at least l can see the button press events in the device logs. So I implemented a workaround application for myself, which simply monitors these logs. When it finds one of these AVRCP messages it broadcasts the "MEDIA_BUTTON" event which normally the platform should send. I know, this is an ugly way of doing this (because it needs a running service, monitoring the logs) but currently I see no other way.
This enables other applications to react on the headset buttons!
You still need to disable or remove the HTC music app or both applications will react on the buttons! I simply deleted it from my Hero (see instruction below).
As I saw here today that others might be interested in this workaround too, I published my app in the market a few moments ago. It's named "Headset Button Fix".
I cannot guarantee that it works for you, because I had only my headset (Nokia BH 503) for testing and I am not sure if the log messages are the same for other headsets. Just give it a try.
And finally, here the instructions how I removed the HTC music player from my (rooted) HTC Hero:
# Make the phone's filesystem read/writable:
> adb remount
# copy the HTC Music app in the current directory
# (for backup, if you want to reinstall it later)
> adb pull /system/app/HtcMusic.apk ./
# Delete the HTC music app on the phone
> adb shell rm /system/app/HtcMusic.apk
# Restart your phone afterwards.
Hope I could help someone with this..
johnny
Click to expand...
Click to collapse
I guess at some point I need to learn this ****! I have been trying for the last 2 days to do this and don't know how to go about it!
I am rooted, got fresh, and gumbo going, so could some one help me out with this!
I often use my phone to listen to the bible and listen to other things. But i really want to be able to turn on some background music with low volume and turn up the voices of my bible app.
Is there any app put there that could allow me to do better mixing?
kedster said:
I often use my phone to listen to the bible and listen to other things. But i really want to be able to turn on some background music with low volume and turn up the voices of my bible app.
Is there any app put there that could allow me to do better mixing?
Click to expand...
Click to collapse
Yes, App Volume does it
https://play.google.com/store/apps/...251bGwsMSwyLDEsImRyb2lkYW1heC5hcHB2b2x1bWUiXQ..
Dante Smith said:
Yes, App Volume does it
https://play.google.com/store/apps/...251bGwsMSwyLDEsImRyb2lkYW1heC5hcHB2b2x1bWUiXQ..
Click to expand...
Click to collapse
I am looking to solve a similar problem.. I often use google navigation and google play music at the same time while driving; i don't like the music extremely loud, but if i set the music at a reasonable volume, I often cannot hear the navigation voice prompts clearly.
Will the above app let me turn up just the navigation voice prompts without affecting the music that is playing in the background at the same time? I think that both are outputed on the media audio channel, so if the app is just changing the volume at the level of the media channel it probably wont work.
Any ideas / experience is appreciated..
Thanks!
App volume can manage only the media stream, actually is not possible to separate per app streams with app volume app ...
Sent from my MB860 using Tapatalk 4 Beta
It'd be awesome if some developer could manage to add the app's icon and volume slider to the default android volume bar upon expanding it..
just use automateit or tasker...
Sent from my SM-G900H using Tapatalk
Here's what worked for me.
VLC media player has an equalizer that allows you to lower the volume of a song. Play songs on that at a lower volume and then find another application that allows you to run a separate media track to play audio tapes at a higher volume (my Lyrics Mania app works for this).
I just downloaded an app that worked:
App Volume Manager (for Android)
It is a relatively new app. You set the start up volume for the different apps. I just started using it. There are two issues with using this app:
1. I think it is a 21 day trial
2. I havn't been able to change volume realtime using the app.
For me it works because I just set the start of volume to what I am looking for. It is made to set the start volume not the real time volume.
Could you please shared the play store link?
I cannot figure out to find it.
Thank you
fredezzz said:
Could you please shared the play store link?
I cannot figure out to find it.
Thank you
Click to expand...
Click to collapse
I believe this is the app referred to above:
https://play.google.com/store/apps/details?id=com.jappstudio.appvolumemanager&hl=en
..haven't had time to try it, but the description indicates the free version is limited to three applications, but can be unlocked for about a dollar.
with 'App Volume Control' you can choose the volume for each app
non of this propositions work for me, but i know it is possible because when i start soundcloud and after flytube then soundcloud volume is decreased over the flytube.
Hi,
I m looking for the same, did you find it?
Thanks
Sorry to bring up an old thread but I am looking for the same thing. App Volume Control does not work for what the OP was asking for. What we want is something that will adjust volume settings per app under one main setting ie; Media, Ringtone, System etc. Example. I'm playing a game that requires sound on for certain things but also want to listen to Spotify while I play. Both use the Media setting. Is there an app that will adjust boths volume to ones desired levels. App Volume Control does not do this and even states it's not possible.
Dont think it can be done on android as of yet.
It all gets played through "media".
Example playing a podcast in background while playing a game, and you want the game volume lower.
On pc's one way around this is virtual cables and virtual mixers, so if someone was able to funnel each apps audio virtually (with ability to set each individually with a slider) before it gets sent to the "media" sound slider would be a great idea.
Having download Poweramp, because it allows you to play sound simultaneously with other music player, lower the sound of what you need to play using the equalizer function. That way, you have the main music player, playing what you want on a high sound and power amp playing music on a low sound.
SoundAssistant by Samsung lets you control the volume of app running at the same time I use it to have 2 things playing over each other. It works perfect!
I think it only works with galaxy phones though.
Wow achieved it Samsung Sound Assistant. Thanks.
I m shocked there is still not a solution for non galaxy devices.
in my use case I would also be happy with just muting one specific app while allowing the other to be controlled by the media stream. Anyone know if this is possible?
cashen said:
I m shocked there is still not a solution for non galaxy devices.
in my use case I would also be happy with just muting one specific app while allowing the other to be controlled by the media stream. Anyone know if this is possible?
Click to expand...
Click to collapse
I'm looking for this too in other forum and got the answer that at this time Sound Assistant from Samsung just can do this thing.
Does anyone have this issue? I'm a little new to Android as I just dumped my iPhone.
Basically, when streaming music to my car radio, my iPhone would provide artist information, album, etc ... everything about whatever is playing. On the One however, album, artist etc displays as UNKNOWN and the ticker for the length of the song counts 1 second, 2 seconds and after 3 it starts over again at 1. I've checked through the bluetooth settings on the phone and don't see any check box specifically for A2DP or something similar. I've also checked this against other radios with the same capability, and on another radio it won't display any artist information, or even the words UNKNOWN. The time never stops ticking either, even when I change tracks. It just goes on and on forever.
Any help is appreciated.
now that i've played with it a little more, it seems to be a Pandora only related issue .... anyone else experience this?
Spotify as well .... seems to be any kind of streaming service. I have files on my phone that play through bluetooth and all of the information displays properly on screen.
Am I really the only one?
With Android, song metadata won't be sent over a Bluetooth A2DP connection unless someone has modified both the Android OS and whatever music app you want to use to both support AVRCP 1.3 (since stock Android still does not support AVRCP 1.3). The HTC One does support AVRCP 1.3, as HTC has modified the Bluetooth stack on the phone to support it. HTC also added support for AVRCP 1.3 in their HTC Music app on the One, so music you play with that particular app has the capability to stream song metadata to a Bluetooth device that supports that function.
The Spotify Android app does not currently have support for AVRCP 1.3, so it will not send the song metadata to a BT device. (And I'm betting that feature won't come anytime soon because the devs for Spotify seem to be pretty pathetic, IMO).
I'm not currently aware of what other Android music apps have built-in support for AVRCP 1.3, sorry. But it's not a majorly-supported feature, so I can say there won't be many of them. :crying:
I've been looking for days on end, but I can't seem to find an app that fixes the delay in bluetooth speakers. For example, it would fix the delay for netflix so the sound matches the video.
I think that this delay is all software based, because Chrome and YouTube don't have delay, but most other apps do.
I was thinking, if this hasn't been created yet, which I don't know why because so many people complain about delayed bluetooth speakers, that it can't be that hard to create.
Like for example, just make it so you open the app, and it puts a sort of slider in the notification bar for you to adjust whatever is on the screen to sync with the video.
or maybe have the app open other apps from inside it and work like that? I have very little experience in coding,
So if anyone could explain to me why an app that syncs the screen with the audio doesn't exist, please tell me!
little more details, I'm using the speaker on my new Nexus 7 2013, and I also have a Nexus 4.
the speaker is a Jawbone Jambox. I bought so I could watch Netflix without headphones, but that's the only app the speaker isn't in sync, apart from.. every single game application.
thanks for any replies!
I'm on Android 9 and I've been trying to use the Youtube app to listen to music as I run deliveries for my business. I'm active on social media in between deliveries so I get frequent notifications, but getting notifications while I'm on the road listening to music is frustrating because the notifications lower my music volume for a second or two and completely throw off my groove! I understand WHY it does this, because as a communication device my phone's intent is to keep me updated on people messaging me, but I'd rather it just play the notification sound WITH the audio instead of trying to MAKE DAMN SURE I heard it.
I don't want to simply turn on Do Not Disturb mode or lower my notification volume as I still want to be able to receive notifications, especially phone calls if my boss rings me, I just want the music to keep playing as I get them.
I've looked through Android's and Youtube's app settings and been unable to find a solid solution to disabling the audio ducking effect, and browsed tons of other forums before coming back here to XDA since I remember having great success with you guys on another much older issue.
I came across an app called Don't Pause! during my searches which apparently solved the audio ducking issue for a lot of people flat-out, but it is no longer on the Play Store and I found an untrustworthy APK download of it that I didn't want to bother with. It's probably too old for Android 9 anyway.
TL;DR Can I get some straight-up solution to disabling the audio ducking effect (either completely, through Android, or locally for just Youtube at least) or an app similar in simple function to the old Don't Pause! app?
Don't Pause ( by XDA-member tpierce89 ) is available here.
jwoegerbauer said:
Don't Pause ( by XDA-member tpierce89 ) is available here.
Click to expand...
Click to collapse
God bless you this is the absolute best solution I could have hoped for. I knew coming here was a great idea. Gonna go one up tpierce's post too!
That app unfortunately doesn't fix the problem with audio ducking. I'm searching for a solution that really disables audio ducking, so that my music doesn't get lowered with every notification and every voice or music feedback of other apps (workout apps etc.).
Any ideas how to really disable audio ducking?
I just want to hear any notification and other audio feedback when I'm listening to music without my music volume getting lowered.