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
Hi,
I have the CDMA hero and a wired headset/headphones with mic and button. When i try to use the double click function on the headset to skip songs, it redials my last called number.
Is there an way to remap the button functions on android?
I'm looking for something just like this app someone from xda made for winmo:
HTCButton BETA
Thanks
Hi,
I have recently bought a BT headset for my motorcycle (Can't post links...it's called boblov intercom on amazon...1st result ).
What it does is, as expected, plays/pauses music if I press the button on the headset. If I longpress the button, it calls the last dialed number (who ever uses this...). I would like longpress to open google now (="OK Google") and start listening to me instead so I could control my phone with voice while riding.
I've made some bluetooth logs and ran then through one of the random log analysers I found online.
My question is...is it possible to modify the command the phone receives from the headset (most apps i tried only deal with the short-press actions...and this action seems hardcoded into the headset).
I have attached a screenshot of the translated log.
Any ideas?
Thanks!
Up !
Do you find any solutions ?
Having the exact same idea, hoping you got something !
o7
It is possible to replace S Voice completely with Google's language search. I would like to use a Bluethooth headset and make calls with Google Search when I press the button for language selection.
Thank
toby
Hello all
I am trying to get a way to play/pause my fitness app (mainly use endomondo) that still lets me use the control buttons to control media. I have a Huawei P9/Android 6.0 and am using a wired running headset. I tried an inline media button adapter - which worked for controlling music ok, then activated the headset control function in endomondo, but it kind of takes over the functionality and stops it from working on the media so you end up running in silence - not helpful!
I'm now looking at something like this and wondering if the shutter button can be changed to send the intent to play and pause endomondo. Is there an app that lets you reprogram these buttons? I am a basic tasker user and am also wondering if that could also intercept the button?
Any guidance as to if this is going to be workable and if so, how, would be greatly appreciated!
Thanks