Go Back   xda-developers > Windows Mobile Development and Hacking > Windows Mobile Apps and Games


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 21st September 2007, 01:38 PM
Wolfman-XP's Avatar
Wolfman-XP Wolfman-XP is offline
Senior Member
 
Join Date: Aug 2006
Posts: 105
Default 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!!!
Attached Files
File Type: zip AVRCP1-11.zip (15.7 KB, 3030 views)

Last edited by Wolfman-XP; 24th September 2007 at 09:01 AM.. Reason: BUG!
Reply With Quote
Sponsored Links

  #2  
Old 23rd September 2007, 12:10 AM
beta_boy's Avatar
beta_boy beta_boy is offline
Senior Member
 
Join Date: Jul 2007
Posts: 152
Default

Quote:
Originally Posted by Wolfman-XP View Post
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!
BTW... great job with the first release! This is a similar to features we are adding into CorePlayer now.
Reply With Quote

  #3  
Old 24th September 2007, 04:04 AM
gewin gewin is offline
Member
 
Join Date: Feb 2006
Posts: 53
Default 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
Reply With Quote

  #4  
Old 24th September 2007, 08:22 AM
Wolfman-XP's Avatar
Wolfman-XP Wolfman-XP is offline
Senior Member
 
Join Date: Aug 2006
Posts: 105
Default

Quote:
Originally Posted by gewin View Post
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
Fixed. See above.
Greets,
Thomas
Reply With Quote

  #5  
Old 24th September 2007, 10:11 PM
cocchiararo cocchiararo is offline
Junior Member
 
Join Date: Sep 2007
Posts: 12
Default

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 :P
Reply With Quote

  #6  
Old 25th September 2007, 07:40 AM
Wolfman-XP's Avatar
Wolfman-XP Wolfman-XP is offline
Senior Member
 
Join Date: Aug 2006
Posts: 105
Default

Quote:
Originally Posted by cocchiararo View Post
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 :P
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..:-)

Last edited by Wolfman-XP; 25th September 2007 at 07:48 AM..
Reply With Quote

  #7  
Old 25th September 2007, 07:07 PM
Skwyk Skwyk is offline
Senior Member
 
Join Date: Dec 2005
Location: Moscow
Posts: 102
Default

GREAT!
Thank you mate.
__________________
HTC Universal / SE HBH-970 / GPSlim240
ROM: WM6/custom
Reply With Quote

  #8  
Old 16th November 2007, 08:54 PM
burningwheels burningwheels is offline
Member
 
Join Date: Nov 2005
Posts: 48
Default 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!
Reply With Quote

  #9  
Old 11th December 2007, 09:46 AM
__s __s is offline
Senior Member
 
Join Date: Nov 2006
Posts: 114
Default

any1 knows what is the "exit gsplayer" command?
__________________
g4 locked -> G3 unlocked -> G4 unlocked
IPL/SPL: 2.16.001 - > 1.01/2.26 -> 2.18.001
ROM: X2H's WM6.5 v4.8C Build 23009
Radio: 2.07.10
(2 times in pda service)
Reply With Quote

  #10  
Old 11th December 2007, 12:32 PM
__s __s is offline
Senior Member
 
Join Date: Nov 2006
Posts: 114
Default

Quote:
Originally Posted by __s View Post
any1 knows what is the "exit gsplayer" command?
thanx every1, i've found it. 40004
__________________
g4 locked -> G3 unlocked -> G4 unlocked
IPL/SPL: 2.16.001 - > 1.01/2.26 -> 2.18.001
ROM: X2H's WM6.5 v4.8C Build 23009
Radio: 2.07.10
(2 times in pda service)
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:43 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.