Customizable AVRCP Agent - Windows Mobile Apps and Games

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

Related

BT hands free Fix??? Maybe..

I think I found a fix for the BT Hands Free not working the way it should.. I can even use call waiting now and it does not kill the mic when I switch back to the first call..
I set the phone settings to automatically pick up after one ring.. No, it will not automatically pick up after one ring but, now I am getting the name to display in the caller ID field of my xLive mp3-BT headset. and it is working consistently.. I HAVE NEVER gotten it to work consistently before.. NEVER. i will try it with my Jabra BT800 later too.
I think it makes a "deeper" or better connection by making the phone try and make the BT headset device automatically answer???
I am using 2.20 OS and it is the only one that I have found to work, (not fully but it does work BETTER), please try this with other Hands Free devices like car kits and HBH660 etc.. Also try this with 2.02 and 2.06
ccrrazzzy said:
I think I found a fix for the BT Hands Free not working the way it should.. I can even use call waiting now and it does not kill the mic when I switch back to the first call..
I set the phone settings to automatically pick up after one ring.. No, it will not automatically pick up after one ring but, now I am getting the name to display in the caller ID field of my xLive mp3-BT headset. and it is working consistently.. I HAVE NEVER gotten it to work consistently before.. NEVER. i will try it with my Jabra BT800 later too.
I think it makes a "deeper" or better connection by making the phone try and make the BT headset device automatically answer???
I am using 2.20 OS and it is the only one that I have found to work, (not fully but it does work BETTER), please try this with other Hands Free devices like car kits and HBH660 etc.. Also try this with 2.02 and 2.06
Click to expand...
Click to collapse
umm. a bit confusing. care to rephrase.
In depth
With 2.02 or 2.06 or the Sin's merged OS, ANY BT headset device or car kit device that needs to use the Hands Free profile, the mic does not work on the device and there is sound that comes out of the XDAII speaker and only the mic on the XDAII works.
People can not hear you when the only mic that is working is on your phone..
Now on the 2.20 translated OS, Hands Free profile does work BETTER. It does not work fully! The caller ID is not displayed right all the time and the most frustrating part is, when the phone receives a call on call waiting, you can switch over to the other call BUT when you switch back, it acts like 2.20-2.06 and the mic only works on the phone, not on the BT device and both the speakers are going giving you a "stereo" affect.
Well, why not just use the Headset Profile you ask???
I LOVE the ability to be able to scroll through my recent call list, see who is calling via the small caller ID display on my BT device and make phone calls... ALL without having to open up my PDA case or look around for my briefcase and find my XDAII.
I have all the power of a regular phone on my ear or around my neck.
BT devices that need to use Hands Free profile are ones like the BT800
http://www.expansys.com/product.asp?code=BT800
or The HBH 660
http://www.expansys.com/product.asp?code=114271
or the new one that has not been released with the only difference of it has a battery life display too.
http://www.expansys.com/product.asp?code=118678
xLive
do a search at http://www.expansys.com/ for xlive.
The xLive MP3 player - Hands Free phone device also allows me to punch in the numbers with the little joy stick and make a call. (It has other bugs though. Wait until a newer version than 1.23c comes out. They still have the old version listed. http://www.alfa-tech.com.hk/index_download.html )
Other devices that require Hands Free profile, are devices like Car Kits..
They require Hands Free profile so the caller ID is displayed and and other more robust feature can be activated.
Headset profile does not support caller ID nor other more powerful features.
My fix...
With the Hands Free profile, and setting the phone to auto answer after one ring, the caller ID is displayed with the name if it is in your contacts AND most importantly, the duel speaker and only mic on the XDAII thing does not happen when you receive another call and switch back to the original call. :lol: :wink:
Hello,
I have stumbled upon the BT problem also, and am having problems since then. I installed BT Tools, and removed the handsfree setting, but still a lot of problems.
I was quite happy seeing your post, so i Removed BT Tools, paired my HBH-660, and used your "fix".
Obervations:
When pairing, the ppc asks to set the headset as handsfree devide, and twice to set is as headset. When clicking Yes for the three, my PPC
does the following: When set not to auto-answer, the phone number is displayed on my headset, when answering, the stereo and mike effect appears.
When set to auto-answer, the phone number is displayed once, when clicking to answer the call on the headset the headset stops, the handsfree icon dissapears on the ppc, the headset icon appears, and a normal conversation is possible, without stereo and mike effect.
When i only select handsfree pofile when pairing, the stereo and mike effect appear with and without auto-answer.
I also never get the name in the display, only the phone number, eventhough the name appears on the PPC, is this a setting somehwere, or just my headset (HBH-660)
Conclusion
What OS are you using?
I am assuming 2.02 or 2.06 with the registry hkey local M, software, Microsoft, Bluetooth, "HandsfreeProfileOn"
On my Jabra BT800, I still only receive a phone number if I do not have their number in the PPC call history or as long as it is not in my Contacts too.. IE.. It only displays if it is a brand new number.
On the Xlive, it displays the number or the name, no matter what.. Well that is until the xLive times out.. Now do not go out and buy one yet, my version 1.23c is the newest OS but it needs an update. It only works for about 10 min and then you have to turn it off and back on and push the BT button 2 times and then it will work again for another 10 min!!!! :evil: :? This also happens on my wife's MPX300 with the latest ROM so it is not a problem with the XDAII software.
Bottom line = With the 2.20 OS and my "fix", The stereo affect is gone on all of my devices.. ANYCOM HS-880, Jabra BT800, Xlive XBM-100, Motorola HS810 and some other Motorola BT headset that has a AAA battery in it..
(Yes, I have bought a lot of them.. I loose things and I was hoping they would work.) :roll:
Now about your 2.02 or 2.06 OS, When you said, "When set to auto-answer, the phone number is displayed once, when clicking to answer the call on the headset the headset stops, the handsfree icon dissapears on the ppc, the headset icon appears, and a normal conversation is possible, without stereo and mike effect. " I would like to know what happens when you set it to answer on 2 or 3 rings, maybe it will display the caller ID longer. Also, I would like to know if the stereo affect comes back when you get another call on call waiting.
I tried it in version 2.06 and it does not work. It can connect the bt earpieces, but no sound. It kills the connection with the original MS bt stack as well.
I believe the OS you are using is 2.20, just wonder is it a Simplified Chinese OS ?
adad said:
I tried it in version 2.06 and it does not work. It can connect the bt earpieces, but no sound. It kills the connection with the original MS bt stack as well.
I believe the OS you are using is 2.20, just wonder is it a Simplified Chinese OS ?
Click to expand...
Click to collapse
If you use OS 2.20 the problem is gone. During pairing select ONLY the first time is asks for Handsfree/headset. Discard the second time. (I Don't know why exactly)
Be aware that no matter how "simple" a headset looks, they have their own set of problems by themselves, not only XDA-II related.
And BT specs for protocol 1.2 is already out there....
:?
Man!!!! I do not know what is up now! :x :? :shock: :evil: :twisted:
On my BT800, I have tried setting it to No Auto Answer, un paring, re pairing with Selecting Yes to Serial, AND YES to both Handsfree/Headset prompts and I can not get it to mess up when another call comes in.
I have tried Selecting Cancel to Serial, Yes to the first Handsfree/Headset prompt and No to the second.. Still no problems.
I have tried only selecting the second Handsfree/Headset prompt and still no problem..
Now, remember, the BT800 sucks! The caller ID is not working BUT that is a Jabra BT800 issue.. It just sucks! Same problem with no caller ID on my wife's MPX300.
The only thing that I can see as my problem was I used to have BT Tools installed and I never could get it uninstalled all the way until I renamed the bthserial.dll. So, I am assuming that BT Tools also had it's own DLL for Headset too???!! Thus that was my problem? I guess.
So, my "fix" is wrong.. I take it back. It makes no difference!
I am sorry.
Looking Glass said:
If you use OS 2.20 the problem is gone. During pairing select ONLY the first time is asks for Handsfree/headset. Discard the second time. (I Don't know why exactly)
:?
Click to expand...
Click to collapse
I noticed NO difference on BT800, or my ANYCOM 880, or from my two Motorola ones.. I do not know if it makes a difference on other devices.
Looking Glass said:
And BT specs for protocol 1.2 is already out there....
:?
Click to expand...
Click to collapse
Could you explain more please?
On my xLive it only has one BT Handsfree/Headset prompt but on the xLive, it lets you select the pairing mode... Hands Free or Headset.
It ALSO has excellent caller ID display! When I may have had a Partial BT Tools installed, I only got caller ID. Now, I get the name too if it is in my contacts list!
I also found out how to use the xLive without all the problems!!!
It took me about 2 hours to do this..
BT headsets...
It looks like the other devices with caller ID on them, HBH-660 and the HBH-220 do not work great and I know for SURE the Jabra BT800 is crap.. (even in Headset Mode it takes up to 9 seconds to answer a call.. In Hands Free mode, it is only 2 seconds but the caller ID does not work)
So, the ONLY solution for those who want caller ID on a handy little device is, the xLive.
I recommend the xLive now. I found that the xLive will screw up if you press certain buttons or for other reasons explained below and if you do not press them or do the other things, it works fine.
I am not sure if People can get A2DP to work on the XDAII, I have seen most say they can't, SO, the next best thing is the xLive! It also supports caller ID and will list the Callers Name if it is in your contact list AND you can DIAL phone numbers with it, all while your XDAII is 30 feet away. You can dial numbers with it through pressing the BT button, selecting "Dial" and using the little joystick to select the numbers and then press the BT button again to dial!
xLive also supports MP3 streaming though a program the give you and a your typical BT device hooked up to your PC. I have one that only cost $39 and it works for about 150 feet. You can get past it's memory limit this way.
How to use the xLive with an XDAII with 2.20 translated ROM.
1. Pair it using “Hands Free” mode, selecting “Pairing Clean”, once, (you do not have to repair again)
2. When you FIRST turn the xLive ON or if you are unable to make call through it or get calls through it, press the Bottom Right Button for 2 seconds to turn it off. Then Turn it back on with the same button. Then Press the BT button on the front left, next to the screen, wait 4 seconds, press it again and wait 6 or 7 seconds until the little BT icon appears then press the Top Left button (A-B and Record, AKA cancel)
3. Never hang up a phone call using BT button! ONLY USE THE “END CALL” function of your phone or wait until the other person has hanged up. If you press it, redo step 2! (the BT button is the one on the left of the screen)
Problems that will cause you to have to turn it Off and then back ON again,,, IE. Repeat step 2.
You can ONLY reject ONE phone call.. After you do, go redo step 2
If you Miss a call, go redo step 2!
If you reboot the XDAII or the two get out of range of each other, you only need to press the BT button and then press the Cancel button after the BT icon appears again.
http://www.expansys-usa.com/product.asp?code=111023 128 $82.95
silver.
http://www.expansys-usa.com/product.asp?code=116333 256 $128.95 Black
http://www.expansys-usa.com/product.asp?code=111492 256 $128.95 White
http://www.expansys-usa.com/product.asp?code=111493 512 meg not out yet.
ccrrazzzy said:
Looking Glass said:
If you use OS 2.20 the problem is gone. During pairing select ONLY the first time is asks for Handsfree/headset. Discard the second time. (I Don't know why exactly)
:?
Click to expand...
Click to collapse
I noticed NO difference on BT800, or my ANYCOM 880, or from my two Motorola ones.. I do not know if it makes a difference on other devices.
Looking Glass said:
And BT specs for protocol 1.2 is already out there....
:?
Click to expand...
Click to collapse
Could you explain more please?
As for you first question: It does a difference to me. Some devices use different functions if they are paired ONLY as headsets or as HANDSFREE. The mess about "what you do in the two step pairing" is probably part of the problem. I've found that the first pairing is best for headsets (HBH 35, HBH 600) and the dual pairing is needed for carkits (at least for my BMW carkit).
Second question: BT specs 1.2 means that there are more profiles and functions that now can be implemented in more devices: SO MORE TROUBLES, and more chances for something to go wrong. There is a lot on information about BT specs out there, you can read about, and wonder what will happen with a device that implements them all.... the HTC/MS way!
And finally, some comments about the "erratic" behaviour of caller ID on your headsets: I've found some remarks noting that depending if your contact info for a certain number is stored in the phone memory OR IN THE SIM CARD, it might change how the info is passed onto your BT headset! So you can see the name, the number or even nothing at all for a few seconds.
:?:
Click to expand...
Click to collapse
Sorry, I have been away from this forum for a while and have decided to come back and try and face my BT issues again.
I am running
ROM 2.06.00WWE
Radio 1.18.00
ExtROM Sin.Merged.v1.0
on an XDA11 with a Blue Ant hands free.
Before upgrading the BT was crap.....long delays in answering, no redialling facility worked and the sound quality was awful.
Since upgrade I really couldnt tell you about the other issues but sound quality appears to be worse. My incoming is fine but out going, the hands free mike is not working and the phone is still receiving on its built in mike. I have tried pairing as "Handsfree" and "headset" with no difference.
Any ideas?
Cheers
Mark
OK,
sat in the car had a beer and tried again. Selecting "handsfree" when prompted and no and no to headset enables the in car mike and allows outgoing calling. But does not allow incoming calls pickup.
Every other config of headset and handsfree combo selections removes the in car mike from working.
Go Figure?
Cheers
Mark
teknophob said:
OK,
sat in the car had a beer and tried again. Selecting "handsfree" when prompted and no and no to headset enables the in car mike and allows outgoing calling. But does not allow incoming calls pickup.
Every other config of headset and handsfree combo selections removes the in car mike from working.
Go Figure?
Cheers
Mark
Click to expand...
Click to collapse
Hi! As said before, you'll be better off with 2.20.
2.0x versions work mostly OK as far as functions, but then you have the dual mic/speaker problems....
Read the forum, there is NO perfect BT solution, in fact, there is not a official version claiming to support HandsFree profile...
Yep,
I hear you, I know the o2 is not handsfree compliant only headset.
The local gurus at Strahfields are trying to sell me the latest Nokia bluetooth hands free.
I quote,
"Its compatible with everything and my mate has got an o2 and it works fantatsically" unquote.
But they where not prepared to give me a demo.
Cheers
Sorry if I am being stupid, I currently use the Diamond 1.2 ROM and have a BT800, so I know all of the problems in trying to get the mic working etc.
Is there an English ROM with 2.20 that's easy to install?
There are so many references and links to various CAB files on here, but as I use my XDA2 for business, as well as pleasure, I don't have time to experiment I would like to find an installer, do that, and then add my own apps, and be up and running within an hour.
I bought the BT800 for the call quality, not the extra features, but now I have a headset that can do so much more, I would like to make use of all the features, but not at the expense of the PDA's stability, although saying that, Diamond 1.2 gives me the hang on reset issues, and random slow down issues too, so it may be better to change to something else anyway.
ccrrazzzy said:
I think I found a fix for the BT Hands Free not working the way it should.. I can even use call waiting now and it does not kill the mic when I switch back to the first call..
I set the phone settings to automatically pick up after one ring.. No, it will not automatically pick up after one ring but, now I am getting the name to display in the caller ID field of my xLive mp3-BT headset. and it is working consistently.. I HAVE NEVER gotten it to work consistently before.. NEVER. i will try it with my Jabra BT800 later too.
I think it makes a "deeper" or better connection by making the phone try and make the BT headset device automatically answer???
I am using 2.20 OS and it is the only one that I have found to work, (not fully but it does work BETTER), please try this with other Hands Free devices like car kits and HBH660 etc.. Also try this with 2.02 and 2.06
Click to expand...
Click to collapse
Hi,
I see you are using Xlive Bluetooth MP3 Player... so I want to know if I can use it with the Motorola HT820 ( http://www.mtekk.com.au/tabid/54/articleType/ArticleView/articleId/641.aspx ) and my xda II whit ROM 2.20 ....
Thanks

Buttons on a Motorolla HT820 Stereo Headset

I recently bought a HT820, and I got it working with my SX66, but the Play/Pause and the track forward/back buttons don't work. Is there any way to map those buttons to a function on the SX66?
Not that I know of (the 3900 stack doesn't seem to support the AVRCP profile). I'm looking for this, too...
I recently bought a HT820, and I got it working with my SX66
I have an XDAiis and have recently purchased the same headphones, I upgraded the bluetooth settings from the site below
ftp://ftp.xda-developers.com/BlueAn...age BT 1.0.0.3900 and audiogw.dll - 1.33g.00/
I too can now listen to stereo audio but again the buttons on the right hand earpiece do not work.
I think that the problem lies with Windows media 10.
Try using TCPMP, which is free software, (use google), you will find that all buttons now work.
The software isn't as friendly to use as WM10 but at least the buttons fully operate on the headphones.
Good luck
http://mobilitytoday.com/article.php?a=000096&p=iPAQ_HP_Bluetooth_headphones
How to force buttons work in WMP 10.
The buttons do not work because BtCeAvIf.dll contains some tricky code to control WMP. It looks for the skin file to parse it for the button positions and then send messages to WMP window. But the place in registry and the skin files themselves changes from wmp 9. So we need to fix both.
The idea is to make new skin files and force widcomm code to use them. WMP 10 should use the new ones of course.
Look in [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MediaPlayer\Skins] în your device
There must be several string variables, we need "DefaultPortraitSkin" and "DefaultLandscapeSkin", there the paths to skin files, portrait192.skn and landscape192.skn (or 96 for non VGA devices)
Find the files in \\Windows folder and copy them on PC. Rename them in e.g. _portrait192.skn
and _landscape192.skn
Then open them in notepad (turn word wrap off in it).
Find "PlayPauseStop" and delete all in and later columns (remove everything after 0,0,0). This line should look like all other buttons defininitions. Rename "PlayPauseStop" in "PlayPause" and align all.
Copy the new renamed files back to device.
Create new registry key
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Player\Parameters]
"DefaultLandscapeSkin"="\\Windows\\_landscape192.skn"
"DefaultPortraitSkin"="\\Windows\\_portrait192.skn"
Click to expand...
Click to collapse
It works with my Anycom headset! Thanks!!!
Just make sure you replace every number 192 in the trick with 96 (as the Blue Angel is a QVGA device). Oh, and the double backslashes in the registry strings at the end should be single backslashes (and don't include any quotes in the strings).
Tried it, and it didnt work :-(
I think i did it right, ill double check after dinner,
any one else had any luck with hacking the registry thing?
i spoke to soon, well sort of
Doesnt work with windows media player 10
but does work with TCPMP :-D
which is the better of the players anyhow :-D
So result :-D
hoping for success
Robrecht said:
It works with my Anycom headset! Thanks!!!
Just make sure you replace every number 192 in the trick with 96 (as the Blue Angel is a QVGA device). Oh, and the double backslashes in the registry strings at the end should be single backslashes (and don't include any quotes in the strings).
Click to expand...
Click to collapse
i have portrait and landscape in both 192 and 96 (4 files)
do i edit all 4 files? could i get something to copy and paste?
using wmp10. not too comfortable with reg edit. can try but any thing i need to know?
thanks for directions, hopefully i'll be ok
i only eidted the 96 ones
i wasnt to comfortable with regedit, but i used a program that allowed me to edit it on the pc, to make it easier.
i wrote a very bad guide how i got it working with tcpmp ( a better player than wm10)
http://www.corecodec.com/index.php?option=com_smf&Itemid=29&expv=0&topic=2840.0
if it helps
but it didnt work with wm10 with me once i done this tho :-(
good luck
fully functioning headset/A2DP only thing missing now is...
voice command would put this thing over the top.
right now i would even settle for voice tags to make calls
anyone got any ideas about that?
thanks for BT setup instructions. i may not be the brightest, but i am not dee dee dee...
have a great night, waiting to hear some input.
Re: fully functioning headset/A2DP only thing missing now is
Woodalia said:
voice command would put this thing over the top.
right now i would even settle for voice tags to make calls
anyone got any ideas about that?
thanks for BT setup instructions. i may not be the brightest, but i am not dee dee dee...
have a great night, waiting to hear some input.
Click to expand...
Click to collapse
I really don't know if it's possible on the Blue Angel... More recent devices already have some kind of headset/voice command support, only using a different program, so you just have to make it use MS Voice Command instead. But the with the BA, you'd have to implement it from scratch.
Still... it would be excellent if someone could get it to work.

Bluetooth headphones + Coreplayer = no play control

I've got some Sony Ericsson DS-HBH970 bluetooth headphones which sound pretty good and are great for the convenience of non- cable tanglingness, and control of playback while the phone is in your pocket.
Problem is that I use coreplayer for listening to music on the phone, and when I use the play/pause, or next/previous track control it's doing it on the built in player in Touchflo, and not on coreplayer.
It's incredibly annoying as it means I can't control the player I'm actually using via bluetooth.
Any ideas how to change this?
Many thanks!
Jim
I'm having the same problem.... Does any1 know how to fix that? Thank you
Same issue with Jabra BT3030.
I tried the advanced control plugin features in CorePlayer, for enabling WMP control support .. didn't worked.
Then tried AVRCP Agent (available on XDA, search the forum), which allows you to send command directly to the desired app (WMP, Coreplayer, GsPlayer)... didn't work either. Looks like HTC hardcoded AVRCP support into their player :-(((
I just hope some of the chefs here will comme with a little tweak...
Edit : It works !!! (see below, post #6)
Fingers crossed as this is mega irritating. Frankly I've been astounded at the quality of the audio on my HTC both via sennheisers, and sony ericsson bluetooth cans, but given that I only use coreplayer, and prefer the bluetooth phones for convenience it's a real pita!
Does any WM guru know how to solve that?
Coreplayer working on TOuch HD with BT3030
I tried again tonight, and AVRCP just worked out of the box : play/pause, next, previous fast forwrd (double press)...
It works with Coreplayer in the foreground, or in the background...
I previously used AVRCP agent, but this time it wasn't enabled (maybe it changed some setting somewhere, and it was not meant to be always opened...). I have TFDetached enabled ; I started Coreplayer from the "regular" Today panel, but it still works when switching to TF3D !
If opened Coreplayer before switching on the BT3030 headset (previously paired).
Settings for Coreplayer :
- HTC Windows Media Player Mobile A2DP plugin : on (ticked)
- HTC WMP control plug-in : off (unticked)
Will try to find if that didn't came from another tweaked, but right now I can't think of something else I would have done...
Good luck guys !
Ace! Will try that AVRCP thingy tonight and see if I can get mine to work.
Thanks
Eyaeeya would you be kind and explain to me step by step how did u do that ? Can you post here the version of AVRCP that you use ? NOOB HERE Thank you in advance!
This must sound really dumb but how do I run AVRCP?I got the zip and ran the exe file from it to install it but nothing seems tohave happened.
Sorry for being dense!
Well, I've had AVRCP running for a bit now but I just cannot get it to control Coreplayer by bluetooth instead of the headphones controlling the TF3 player instead.
There must be LOADS of people facing this problem since Coreplayer is near enough a staple application on winmo phones.
What am I doing wrong?
Still no-one?! Surprised by this.
Does no-one use bluetooth + coreplayer besides me and eyaeya?
I'm looking for the same fix too!
has anyone tried to go into coreplayer options(or tools)??? --- I saw somekinda option in plugins "windows media player control" or something like that, see if that helps!!!!
eyaeya said:
I tried again tonight, and AVRCP just worked out of the box : play/pause, next, previous fast forwrd (double press)...
It works with Coreplayer in the foreground, or in the background...
I previously used AVRCP agent, but this time it wasn't enabled (maybe it changed some setting somewhere, and it was not meant to be always opened...). I have TFDetached enabled ; I started Coreplayer from the "regular" Today panel, but it still works when switching to TF3D !
If opened Coreplayer before switching on the BT3030 headset (previously paired).
Settings for Coreplayer :
- HTC Windows Media Player Mobile A2DP plugin : on (ticked)
- HTC WMP control plug-in : off (unticked)
Will try to find if that didn't came from another tweaked, but right now I can't think of something else I would have done...
Good luck guys !
Click to expand...
Click to collapse
for me it works not....
i follow the settings above, but still WMP would be launched be pressing a button on my BT Headset
any solution?
this works!
check out this on
http://forum.xda-developers.com/showthread.php?p=4749697#post4749697
works 100% with Coreplayer
Cheers mate - installed that and rebooted etc but it's still not working with Coreplayer.
It's stopping WMP from using the control but it's just not doing anything with coreplayer.
I've posted on that thread anyway.
Thanks for the link
I've finally given up on CorePlayer. The latest version of Pocket Player 4.1 solves all of my Verizon HTC Touch Pro + Bluetooth problems.
Thanks to Pocket Player 4.1, I now have:
1. Full control of all of the buttons on my Motorola HT820.
2. Lossless flac and ape support.
3. A boost in volume. I set the default equalizer with the pre-amp at its maximum. With a press of a button on the headset, I can boost volume so that it is suitable for freeway speeds.
4. A persistent current playlist.
Goodbye CorePlayer. Don't let the door hit you where the good lord split you.
did anyone ever make progress on this? I need coreplayer for the .mp4 video functionality. I cant find any other player that play is (TCPMP is to laggy).

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!

Modify bluetooth headset button action (longpress)

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

Categories

Resources