Program to change the phone volume when plug-in/un-plug headphones
Posted on 2007-09-28
Can someone write a program for me.
What I want is a small program for my HP iPaq h6365 Pocket PC 2003 Mobile.
Program to do:
(bear in mind that I also use a bluetooth headset - if that has any effect on the senario)
- When I plug in my headphones to listen to music, I want the program to automatically turn the phone volume down to 1
- When I unplug my headphones, I want the program to automatically turn the phone volume up to either the volume I had before I used the headphones (preferrable) or to the max phone volume (as this is what I use most anyway if the previous is too hard).
In addition to posting the code up here, I am just learning to program so for me to be able to test it are you able to compile it for me & post up a download somewhere? that'd speed the process up a lot.