[APP] BluetoothHeadsetButtonRemapper - Your Portfolio

Hi,
I've started writing an app to remap the Bluetooth Headset buttons of simple headsets to something more useful. The default action is to redial the last dialed number or to start voice recognition. I believe that it is much more useful to play/pause the audio player.
The app and the source can be found on sourceforge: https://sourceforge.net/projects/bluetoothheadsetbuttonremapper/
The app currently supports Smart AudioBook Player only and only the last dialed number redial is mapped to toggle play/pause. There are some more things to do and I think that the idea has potential and could be useful to many people.
Since I have limited time and capabilities I'm looking for collaborators

The app is almost finished and can be found on the Play: Store https://play.google.com/store/apps/details?id=com.yado.btbut

Not looking for collaborators anymore then, I guess?

Well, if you're interested, you can write me an email on the email in the Play Store and we can think of something
ngoonee said:
Not looking for collaborators anymore then, I guess?
Click to expand...
Click to collapse

Related

Customizable AVRCP Agent

Hello,
here is my new version of the avrcp-agent. It is now customizable, so you can control every application from wich you know the messages to be send as WM_COMMAND.
On startup you do not see anything from the app! When you start it a second time, you see an menu at the bottom (OK and SETTINGS) where you can configure various things like the path to the application you want to control and timings for double and triple clicks. Don´t click the OK button, because the app will exit after that! Just leave it run in background. The menu disappears after clicking somewhere else.
Here are the sample Codes for the CorePlayer:
WindowName: CorePlayer
play/pause 1102
PREV 1100
NEXT 1101
OpenFile Dialog 1105
Switch Display 1037
For the GSPlayer:
WindowName: GSPlayer
play/pause 40027
PREV 40037
NEXT 40038
FastFF 40075
FastBack 40074
OpenFile Dialog 40018
Switch Display 100
You can customize the Agent for the functions of the headset by setting the message values to the buttons you want to.
I hope you will enjoy.
Greets,
Thomas
21.09.07 - BUG!
There is a bug in the program. When you reset the device, it "forgets" the settings. I will correct this at monday!
24.09.07 - FIXED! V1.11
I have updated the file to the new version.
-the settings will "survive" a reboot now.
-the problem with the activation of the application to control is fixed
-if you want to start any other program with an AVRCP command, you can now specify a path and the .exe file in the message field!!
Remarks:
-if you change settings, you must restart the agent.
-in the "path" field of the settings you must put the COMPLETE path, including the .exe file to start!
-COREPLAYER: if you want to use the agent with the CorePlayer, you must deactivate the "WMP UI plugin support" under settings/advanced!!!
Wolfman-XP said:
Hello,
here is my new version of the avrcp-agent.
BUG!
There is a bug in the program. When you reset the device, it "forgets" the settings. I will correct this at monday!
Click to expand...
Click to collapse
BTW... great job with the first release! This is a similar to features we are adding into CorePlayer now.
Activate GSplayer
Nice to see a new version. I tried it out and had one problem. WHen Gsplayer isn't running, pressing the play button on the headset doesn't seem to start the application. If I start it normally, the buttons on the headset do what they are supposed to.
Thanks
gewin said:
Nice to see a new version. I tried it out and had one problem. WHen Gsplayer isn't running, pressing the play button on the headset doesn't seem to start the application. If I start it normally, the buttons on the headset do what they are supposed to.
Thanks
Click to expand...
Click to collapse
Fixed. See above.
Greets,
Thomas
works for me now XD
i cant really read what i input to it, but since i made no typos, i was able to configure it. (the font is TOO small).
there no chance for this app or any other to force sound of incomming calls/sms to go through the phone speacker (i dont care if its player through the headset or not ,but not having sound on the speaker makes it imposible to notice a call while driving
some time in the future, ill but a car stereo with BT, and i wont miss calls since i will hear the ringtone through it, but for now, its a problem
cocchiararo said:
works for me now XD
i cant really read what i input to it, but since i made no typos, i was able to configure it. (the font is TOO small).
there no chance for this app or any other to force sound of incomming calls/sms to go through the phone speacker (i dont care if its player through the headset or not ,but not having sound on the speaker makes it imposible to notice a call while driving
some time in the future, ill but a car stereo with BT, and i wont miss calls since i will hear the ringtone through it, but for now, its a problem
Click to expand...
Click to collapse
Perhaps you could use Voice Command to speak the number or contact of the incoming call.
In the next Version i will use a bigger font..
GREAT!
Thank you mate.
Avrcp Wm_command
Hi,
I am creating my own mp3 player for pocket pc. I would really like to be able to use AVRCP. Could you provide me with some info? I am using visual basic .net . I use Interop.WMPLib.dll for playback. How do I process an incoming WM_COMMAND?
Thanx!
any1 knows what is the "exit gsplayer" command?
__s said:
any1 knows what is the "exit gsplayer" command?
Click to expand...
Click to collapse
thanx every1, i've found it. 40004
does this work on WM5?
Hi,
I'm trying to launch AVRCP agent on my hx4700 with WM6 (Kozhura edition) and sony DR-BT50 headphones but without no luck :-(
Build-in WMP10 work, Mort Player work also bu GSPlayer with any available version of AVRCP Agent does not work.
Any idea what I'm doing wrong?
GREAT APP!!!!
Using is with GSPlayer - which is also great. and my new gear4 bluphones.
One little issue, I don't think I got the codes right to start, so I changed them, and I still couldn't get PREV to work (is the code definitely 40037?), so I put some different codes in to try & understand it. Now it's not accepting my changes - I'm stuck with the wrong settings!! I've even odne a soft reset!! where are the settings stored? in the reg I guess. HELP!!!
Also - can yo possibly make it work for QVGA - It's really hard to read!!!!
Thanks so much for this app,
James
Hi,
May or may not be a bug report - on my HTC, with gear4 Bluphones, double clicking 'back' does the same as as double clicking 'Play'. Single clicks work fine. So if the double click is done in software (I think it must be?) I think this must be a (very minor) bug...
Altogether though - FANTASTIC!!
WM_COMMAND codes for PocketMusic
I am looking for an app that will auto-launch pocketmusic when I press the play button. Can I do that with this app? How do I get the codes?
lcd message
Any info about to send title song or other messages to headset with lcd ?
Thanks!
Appelsap said:
I am looking for an app that will auto-launch pocketmusic when I press the play button. Can I do that with this app? How do I get the codes?
Click to expand...
Click to collapse
Yes, you can Launch PocketMusic by entering the path to PocketMusic in the message field for "play single click". But i don´t know the Codes to control pocketMusic
Greets,
Thomas
ciccior2003 said:
Any info about to send title song or other messages to headset with lcd ?
Thanks!
Click to expand...
Click to collapse
no idea. I dont´t have a headset with LCD to test it....
Audio Manager
Hi. Does anyone knows the HTC Audio Manager AVRCP codes?
Johny
Problem with Sony DR-BT50 headset
Hi,
as I mentioned in post #12 I have DR-BT50 headset which doesn't work with AVRCP Agent - probably my headset send different control codes than AVRCP Agent expect so there is no possibility to make right mapping between codes received from headset and WM_COMMAND codes sending to application.
It would be great if new version of AVRCP Agent could:
1. show control codes received from headset (for example in debug mode)
2. map any received control code to any sending WM_COMMAND code
Is it possible to make such AVRCP Agent version?
Thanks for help,
Irek

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!

[Q] HTC One Headset Control problems

Hey everyone, I've recently started using the HTC One but I don't really know what's going on with the controls on the headset that comes with the phone. There is only one button. One click is for play/pause, but double click redials my last call, instead of going to the next track. I've tried apps like headset button controller and it doesn't seem to be able to recognize my button clicks. Have any of you had this problem and what do you recommend I do?
yeah see here, It's the stock musicplayer that has the issue. Headset Drloid and another music app like Google Music were my solution
jebise101 said:
yeah see here, It's the stock musicplayer that has the issue. Headset Drloid and another music app like Google Music were my solution
Click to expand...
Click to collapse
same problem here, i did what you mention, however, nothing happens, keeps calling the last person.
Holding the button for 1+ sec changes the track for me... But I have to be careful cause holding it too long brings up voice commands
HTC headset button - I can't get them to work properly
Hi everyone!
I was looking all over to find a way to use the remote controls of my Sennheiser and Urbanears Headsets with my HTC one for Music controls and calls reliably. However, I can't seem to get it to work and was hoping that someone here could help me out.
I really highly appreciate your help and I am willing to donate 10 USD for a working solution!
Phone: HTC One
Android Version: 4.2.2
HTC Sense Version: 5.0
Software: Android Revolution HD 12.1
HTC SDK API Level: 5.34
Kernel: 3.4.10-gd6147e
Music App: Grooveshark
I was trying everything I could find on the Internet to fix the Headset button behaviour. Two apps from the Google Play Store did better than the rest: Headset Button Controller and Philips Headset. However, none of them was able to interpret Headset button requests reliably. The apps would only react in about 5 % of the time to multiple clicks (Next track, Previous track, volume control etc). The authors of the app said, that my Custom ROM is probably the reason it is not working. Can that be true?
Does anyone know a reliable solution to use the Headset for Music controls or to be able to use it realiably with third Party apps such als Headset Button Controller? The intermediary solution I found was to interchange the key assignment of keys 163 and 226 - now I can at least Change to next track by click of a button, but thats it - no other functions with multiple clicks.
For sure the clicks on the button are registered by the phone - because I can see that it reacts, but for whatever reason only a limited number is actually interpreted by third Party apps.
I really highly appreciate your help and I am willing to donate 10 USD for a working solution!
Thanks,
best regards,
Karl
idreams said:
Hi everyone!
I was looking all over to find a way to use the remote controls of my Sennheiser and Urbanears Headsets with my HTC one for Music controls and calls reliably. However, I can't seem to get it to work and was hoping that someone here could help me out.
I really highly appreciate your help and I am willing to donate 10 USD for a working solution!
Phone: HTC One
Android Version: 4.2.2
HTC Sense Version: 5.0
Software: Android Revolution HD 12.1
HTC SDK API Level: 5.34
Kernel: 3.4.10-gd6147e
Music App: Grooveshark
I was trying everything I could find on the Internet to fix the Headset button behaviour. Two apps from the Google Play Store did better than the rest: Headset Button Controller and Philips Headset. However, none of them was able to interpret Headset button requests reliably. The apps would only react in about 5 % of the time to multiple clicks (Next track, Previous track, volume control etc). The authors of the app said, that my Custom ROM is probably the reason it is not working. Can that be true?
Does anyone know a reliable solution to use the Headset for Music controls or to be able to use it realiably with third Party apps such als Headset Button Controller? The intermediary solution I found was to interchange the key assignment of keys 163 and 226 - now I can at least Change to next track by click of a button, but thats it - no other functions with multiple clicks.
For sure the clicks on the button are registered by the phone - because I can see that it reacts, but for whatever reason only a limited number is actually interpreted by third Party apps.
I really highly appreciate your help and I am willing to donate 10 USD for a working solution!
Thanks,
best regards,
Karl
Click to expand...
Click to collapse
If your phone is rooted you can try HeadsetMod from here http://forum.xda-developers.com/showthread.php?t=2423160.
EDIT : Didnt notice that you are using grooveshark app. Not sure if it works with that. Its tested only with the default music app.

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.

Sharing a call recorder that worked for me on Android 10, Lg G8x

Hi guys,
I've been struggling for quite a while to find a working call recorder for Android 10 Lg G8x and I finally found one that works without you having to click your heels 3 times and do 7 summersaults... Just thought i would share it with the community:
https://play.google.com/store/apps/details?id=com.fragileheart.callrecorder
All you need to do is change the audio source to Voice calls, and it records normal calls speaker calls and bluetooth
Wow... You made my day. I've been testing several Call Recorders with no success because I need recording for my work. If this works in a decent way you will have solve one of the problems I had with G8x.
lonboy said:
Wow... You made my day. I've been testing several Call Recorders with no success because I need recording for my work. If this works in a decent way you will have solve one of the problems I had with G8x.
Click to expand...
Click to collapse
We should share what we find. Here are a few apps that I consider must have for G8X:
Wide mode for LG https://play.google.com/store/apps/details?id=net.refy.android.g8x.widemode
Launch 2 apps, one on each screen: https://play.google.com/store/apps/details?id=com.graymatterapps.duallaunchforlg or https://play.google.com/store/apps/details?id=com.fb.splitscreenlauncher
Overlay apps that really help if you are in Wide mode and can't reach:
- This one is the most used app on my phone, awesome assistive touch with very complex gesture controls if you want to go there. https://play.google.com/store/apps/details?id=com.ksxkq.floating . I use it with long press to move, press - menu, left - back, down - home, right - task manager, up - notifications, swipe up + hold - slide volume, swipe down + hold - slide brightness.
- Meteor Swipe https://play.google.com/store/apps/details?id=com.fb.glovebox . This one is a side-bar, and has a nice open in window mode directly.
- Floating bar V40: https://play.google.com/store/apps/details?id=com.tools.lgv30.floatingbar . Much better than the built in functionality, and the only media controller if found that works with any media (Netflix, Youtube, etc)
- Bubble notification, best i've found : https://play.google.com/store/apps/details?id=com.onedollar.bubblenotificationq
List My Apps: https://play.google.com/store/apps/details?id=de.onyxbits.listmyapps
Launchers:
- Square home https://play.google.com/store/apps/details?id=com.ss.squarehome2
- Microsoft home https://play.google.com/store/apps/details?id=com.microsoft.launcher
-> Both have landscape support, and are leaps and bounds over Apex or Nova, the blank slates that everyone uses for launchers.
@dumitrudan608 thanks man works like a dream. This was one of the reasons i was going to make an effort to root my Euro device.
Guess i dont have to now, wich is fine by me.
caved said:
@dumitrudan608 thanks man works like a dream. This was one of the reasons i was going to make an effort to root my Euro device.
Guess i dont have to now, wich is fine by me.
Click to expand...
Click to collapse
Leave feedback for the dev, he put in the work.
Do you have any tips/tricks you would like to share about your G8X?
I see people are not really sharing, and that is sad, because that is one of the reasons Samsung devices are in such high regards, because the XDA community is very verbal about them, even though LG practically gives you the tools to root their devices, whereas Samsung tries their best to not do so.
The call recorder doesn't work when the dual screen accessory is attached and closed, but it does work when you flip it back and answer the call. Can others verify ?
i too am facing the call recording issue... this app works sometimes, most of the times it doesnt record anything, cant determine when it works well
hope LG bring native call recording to LG G8X, i think its just matter of enabling it in GUI. is there a way to submit feature request to LG?
bhavik_ht said:
i too am facing the call recording issue... this app works sometimes, most of the times it doesnt record anything, cant determine when it works well
hope LG bring native call recording to LG G8X, i think its just matter of enabling it in GUI. is there a way to submit feature request to LG?
Click to expand...
Click to collapse
Did you "change the audio source to Voice calls" as i said in the description?
dumitrudan608 said:
Did you "change the audio source to Voice calls" as i said in the description?
Click to expand...
Click to collapse
yes i did, still its flaky, works very rarely.
bhavik_ht said:
yes i did, still its flaky, works very rarely.
Click to expand...
Click to collapse
"Works very rarely" is not really a unit of measure, you need to be more precise when offering feedback like when this happens, and its better if you offer it to the devs.
I can confirm that with the initial settings, recording through Bluetooth headsets does not work,the resulting fine is just empty, and i remember it did, maybe something was updated or the LDAC options might affect it. Direct calls do record fine, and it's the only app that allows contact recognition that I found at least.
If you guys find a better app, please let us know.
dumitrudan608 said:
We should share what we find. Here are a few apps that I consider must have for G8X:
Wide mode for LG https://play.google.com/store/apps/details?id=net.refy.android.g8x.widemode
Launch 2 apps, one on each screen: https://play.google.com/store/apps/details?id=com.graymatterapps.duallaunchforlg or https://play.google.com/store/apps/details?id=com.fb.splitscreenlauncher
Overlay apps that really help if you are in Wide mode and can't reach:
- This one is the most used app on my phone, awesome assistive touch with very complex gesture controls if you want to go there. https://play.google.com/store/apps/details?id=com.ksxkq.floating . I use it with long press to move, press - menu, left - back, down - home, right - task manager, up - notifications, swipe up + hold - slide volume, swipe down + hold - slide brightness.
- Meteor Swipe https://play.google.com/store/apps/details?id=com.fb.glovebox . This one is a side-bar, and has a nice open in window mode directly.
- Floating bar V40: https://play.google.com/store/apps/details?id=com.tools.lgv30.floatingbar . Much better than the built in functionality, and the only media controller if found that works with any media (Netflix, Youtube, etc)
- Bubble notification, best i've found : https://play.google.com/store/apps/details?id=com.onedollar.bubblenotificationq
List My Apps: https://play.google.com/store/apps/details?id=de.onyxbits.listmyapps
Launchers:
- Square home https://play.google.com/store/apps/details?id=com.ss.squarehome2
- Microsoft home https://play.google.com/store/apps/details?id=com.microsoft.launcher
-> Both have landscape support, and are leaps and bounds over Apex or Nova, the blank slates that everyone uses for launchers.
Click to expand...
Click to collapse
is there Screen Locker for LG G8X, Normal App Locker does not work in Secondary Screen
Currently, the only app with call recording and caller recognition is https://cubeacr.app/ Use direct download, not from the play store, as google does not allow to recognize caller and record calls. The source for the call is "voice recognition software" It looks like it is a mic but in a different mode. Quality is not the best. For me, there is no reason to buy it. Disable automatic update for this app or it will be overwritten by google version.
bhavik_ht said:
i too am facing the call recording issue... this app works sometimes, most of the times it doesnt record anything, cant determine when it works well
hope LG bring native call recording to LG G8X, i think its just matter of enabling it in GUI. is there a way to submit feature request to LG?
Click to expand...
Click to collapse
LG have native call recorder but it is hidden. It same samsung but no one know how to enable it.
Alein said:
Currently, the only app with call recording and caller recognition is https://cubeacr.app/ Use direct download, not from the play store, as google does not allow to recognize caller and record calls. The source for the call is "voice recognition software" It looks like it is a mic but in a different mode. Quality is not the best. For me, there is no reason to buy it. Disable automatic update for this app or it will be overwritten by google version.
Click to expand...
Click to collapse
The play store version now has an addin that you can install, and gives you full functionality. If the volume for the other person is very low (this was the case for me) disable "Force in-communication mod"
dumitrudan608 said:
Hi guys,
I've been struggling for quite a while to find a working call recorder for Android 10 Lg G8x and I finally found one that works without you having to click your heels 3 times and do 7 summersaults... Just thought i would share it with the community:
https://play.google.com/store/apps/details?id=com.fragileheart.callrecorder
All you need to do is change the audio source to Voice calls, and it records normal calls speaker calls and bluetooth
Click to expand...
Click to collapse
The link is missing.... Seems it is removed feom app store.... Would you share the name and developer name?
Hi Stallio,
Try this from APKsHub
Download Call recorder(com.fragileheart.callrecorder)4.9 free APK - Android Games_APKsHub
Download Call recorder(com.fragileheart.callrecorder)4.9 free APK - Android Games_APKsHub APKShub
www.apkshub.com
Version: 4.9
FileSize: 9.7 MB
Updated: 2020-10-11
Hello there. I can confirm this app works flawlessly on the lg v40. My v20 had the stock recorder on android 9 and I missed it a lot on the v40. I found this app just today and I'm really pleased.
dumitrudan608 said:
Hi guys,
I've been struggling for quite a while to find a working call recorder for Android 10 Lg G8x and I finally found one that works without you having to click your heels 3 times and do 7 summersaults... Just thought i would share it with the community:
https://play.google.com/store/apps/details?id=com.fragileheart.callrecorder
All you need to do is change the audio source to Voice calls, and it records normal calls speaker calls and bluetooth
Click to expand...
Click to collapse
Kindly share apk file as the suggested app is not available on play store in my region (India)
I ended up using the skvalex call recorder from Magisk, but you need a rooted phone for that to work. It's also a paid app (with 30 days of trial) and not a cheap one either, but it works flawlessly.

Categories

Resources