PDA

View Full Version : API for HTC Audio Manager


rib0n
20-10-2007, 12:32 AM
I would like to develop a custom application to control HTC Audio Manager with my steering wheel playback controls in my car. I can receive button events via bluetooth, but I need to forward them via my application to Audio Manager like homescreen plugin.

Does anybody know how HTC homescreen plugin "talks" to AM to get information about tracks and change playback options? Maybe there is a good api hook for Windows CE to spy on these calls?

denttarek
20-10-2007, 03:38 AM
talks english "Just kidding", sounds fancy ,good luck

rib0n
20-10-2007, 03:49 PM
Yeah, it took me all night to figure out that Apispy from Microsoft Visual Studio 2005 doesen't work. An older version works.

Here are the SendMessage wMsg, wParam and lParam:

0x401,0x1,0x0 - Play
0x401,0x3,0x0 - Pause
0x401,0x7,0x0 - Prev
0x401,0x5,0x0 - Next