[Q] Bluetooth headset controls - Fascinate Q&A, Help & Troubleshooting

Only reason i didn't put this in the themes apps section is that it could be a mod as well. What i'm looking for or hoping to have either an app or option in tsm settings for example to set the controls for bluetooth devices.
I currently use a a2dp headset for listening to music, podcast ect. On the bluetooth device there are play, pause, forward, back controls as common on most. My issue is setting which app is to be associated with those controls. Of course some apps have this as a setting to enable this or not. However some do not and sometimes an app gets control that you did not wish.
The most convenient solution seems to me would be to have a menu or app independent of said music/podcast apps that a user to point the controls to the app of choice. This would eliminate the need to go through the settings in each app as well as help with those apps that have no setting for this.
Now seeing how this seems like it would be a fairly common request i would imagine there is already a solution for this. However i have yet to find it.
Would appreciate any assistance
Thanks

Dang, am I the only one with this headache?

Related

How to turn off the HTC Audio Manager

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!

Per-App volume control

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.

Headphones inline control skips and callsback?

Hello everyone. I have the skullcandy FMJ headphones but when i double click the inline control to skip track, it also calls back the most recent dialed number simultaneously. Does anyone know of any way to fix this? Preferably a way to disable the callback function?
download headset blocker from the market and you'll be good to go.
Thanks for your help, but I'm not looking for something to completely disable my headset as I'm not really getting any phantom calls, rather I need something to get around activating callback and next track at the same time.
KhaosX said:
Thanks for your help, but I'm not looking for something to completely disable my headset as I'm not really getting any phantom calls, rather I need something to get around activating callback and next track at the same time.
Click to expand...
Click to collapse
What you want is actually Headset Button Controller, it'll allow you to change the stock behavior for double click plus it adds triple click, click and hold, and several other functions (or not, your choice). It's like $2-3 on the Market and there's a trial version I think. I use it with my MEElec M9P and it works perfectly. I'm surprised the app isn't more widely known since this is something manufacturers rarely get right on Android. Oh and it'll work with the stock music player and/or other players of your choosing.
If that's too steep (really?) there's a couple free music players that let you alter this behavior within the player only, I believe Winamp or dbPowerAmp do that, not sure. I like the stock player and it's integrated lock screen controls.
Impulses said:
What you want is actually Headset Button Controller, it'll allow you to change the stock behavior for double click plus it adds triple click, click and hold, and several other functions (or not, your choice). It's like $2-3 on the Market and there's a trial version I think. I use it with my MEElec M9P and it works perfectly. I'm surprised the app isn't more widely known since this is something manufacturers rarely get right on Android. Oh and it'll work with the stock music player and/or other players of your choosing.
If that's too steep (really?) there's a couple free music players that let you alter this behavior within the player only, I believe Winamp or dbPowerAmp do that, not sure. I like the stock player and it's integrated lock screen controls.
Click to expand...
Click to collapse
I use Headset Button Controller with my Sennheiser CX680i earbuds and it works great to control the button functions. You can even have it open an app upon cable insertion or preset volume etc. Great app.
Swyped using 2 cores and 3 Ds
Thats exactly what I was looking for Thanks!

DEVS (REQ) ... Navigation volume

there has got to be a dev here that can make a separate navigation volume . im sick of not being able to hear my nav while playing music . when nav voice comes on its so low compared to the volume i listen to my music at . HELP! even if its not a separate volume may some one could break into the app and boost the volume in the app about 30 %
Hmmm sound interesting but upload or link me to the app
Sent from my ADR6425LVW using xda premium
Its the maps app . You should have it on your phone .
If you wanted integrated navigation volume it would have to be hard coded into the OS. Nav volume is based on media volume, so you can't really boost it in the OS. It would require edits to a majority of the framework files and a custom systemui
well then my question is ... can it be done ? i know im not the only one with this problem. its all over the internet with no fix that i can find . im sure people would appreciate it if a modded app was available .there used to be a separate volume for this but google removed it for some reason ?
red rage said:
well then my question is ... can it be done ? i know im not the only one with this problem. its all over the internet with no fix that i can find . im sure people would appreciate it if a modded app was available .there used to be a separate volume for this but google removed it for some reason ?
Click to expand...
Click to collapse
Doubtful. If it was done, it couldn't be done for Sense roms and would take months to implement into AOSP. You'd have to convince CM or someone that it's a major issue. Too much work for 1-2 people. Try using an aftermarket app like Volume+?
It can depends on how you are listening to music. If you listen to music from your phone threw the auxiliary port in the car then it will play threw the car speakers and work like you want it to. It maybe even work threw Bluetooth if your car lets you listen to music/media thew Bluetooth then you might be able to listen to the radio while having nav on and connected to Bluetooth and have it played back on the car speakers. When I need to use the nav on mine I just connect threw the auxiliary and listen to music from my phone and let the nav play threw the speakers.
Sent from my Sense 4 ICS Rezound
yes i have a 2011 ford taurus and connect via bluetooth it works but while listening to music and using nav ,the nav is much lower than the music . and if i turn up the volume then the music is to loud . it just sucks google took out nav volume . theres got to be a way to break into the nav app and change the output volume . but im no developer so i may be wrong . maybe even something like this http://www.droidforums.net/forum/te...ions/85987-facinate-g-nav-volume-too-low.html
Try doing it thew the auxiliary that works great for me it works on stock nav and sygic.
Sent from my Sense 4 ICS Rezound
That weird when I tried the app my music go low and the nav can talk what music app are you using
Sent from my ADR6425LVW using xda premium
Personally, for many reasons, I have a strong preference for using a separate device for my GPS. I use an old Garmin nuvi 750.
Without the Garmin, I would be running maps, trapster, and keeping my phone on the dashboard for a good GPS signal. And on top of that, I might receive a phone call.
I prefer using my GPS as a GPS and speed camera warning device. Then my smart phone can be a phone, email, messaging device.
HowardZ said:
Personally, for many reasons, I have a strong preference for using a separate device for my GPS. I use an old Garmin nuvi 750.
Without the Garmin, I would be running maps, trapster, and keeping my phone on the dashboard for a good GPS signal. And on top of that, I might receive a phone call.
I prefer using my GPS as a GPS and speed camera warning device. Then my smart phone can be a phone, email, messaging device.
Click to expand...
Click to collapse
Navigation is for people who don't have a GPS, or don't have it with them. Not meant to be a full fledged GPS. (Even though it is pretty close)
I noticed this same problem about a month or so ago. They changed Maps so that it had the same volume as general media and assumed that all other apps would work perfectly with it. Like you said its all over the internet, or a decent section of the internet. Based on the amount of complaints I assume eventually things will improve over time with updates. Yet with the way they reprogrammed it, there is no longer a separate "navigation volume" option in settings. So changing it would be like programming an entirely new app. I'm with you though. I can't hear my nav at the same appropriate volume of music.

How can I disable the audio ducking effect on Android 9's Youtube app?

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.

Categories

Resources