cable headset button - Windows Mobile Development and Hacking General

Is it possible to catch pushing of headset button placed on cable?
It works somehow like green/red buttons, you can for example end phone talk.
i would like to change it's behavoiur. When you are not talking, i would like to make:
-one button press - start/stop mediaplayer or TCPMP
-two button press - previous mp3
-three button press - next mp3
-press and hold - voice tells you what time is it

any idea?

Marx2 said:
Is it possible to catch pushing of headset button placed on cable?
It works somehow like green/red buttons, you can for example end phone talk.
i would like to change it's behavoiur. When you are not talking, i would like to make:
-one button press - start/stop mediaplayer or TCPMP
-two button press - previous mp3
-three button press - next mp3
-press and hold - voice tells you what time is it
Click to expand...
Click to collapse
I doubt this button is able to be remapped and I will tell you why. I have a Sprint PPC6600 aka Blue Angel on this site. It came with a stereo headset with mic and push button. A close look at the 2.5 mm plug shows 4 conductors. Checking with a multimeter I found 1 = Left Ear, 2 = Right Ear, 3 = Mic and 4 = Common. So where does the button connect? As far as I can tell it is directly across the Mic, making it a part of the analog circuit and not a remappable input to PC.

http://forum.xda-developers.com/showthread.php?t=264308&highlight=talk+button
V

Related

Microsoft Voice Control 1.5

Hey Guys,
Ive been using a trial of voice control for a few days now, and wondered wether i have to press my mapped button everytime i want to tell my xda what to do.
As far as i can make out, if i have to press a button each time, it looses its appeal quickly
I use the hands free xda headphones to command it, so while im on my bike it would be nice to tell media player what to do without pressing a button in my pocket each time.
Please help,
Adam
There is no "Microsoft Voice Control", neither there is a "Microsoft Voice Command Trial"...
Chatty said:
There is no "Microsoft Voice Control", neither there is a "Microsoft Voice Command Trial"...
Click to expand...
Click to collapse
I apologise, using the word "control" rather than "Microsoft Voice Command", and there is a trial of this software, im using it right now and I downloaded it from http://www.handango.co.uk/PlatformP...2&platformId=2&productType=2&productId=151270
So does anyone have an answer to my question above, do I have to press the button to start "Microsoft Voice Command" everytime I want to do somthing.
Thanks
i suspect that it does it like that because of cause if it would just catch the commands when ever spoken it would have to be turned on all the time
and if it were running like that it would be trying to recognize background noise and voices as commands all the time and use even more power and possible recognize some of the stuff as something and do odd things
I thought that might happen too, then i realised i have the 2 call buttons on the handsfree earphones that are easy to access (ref and green caller buttons) however i cant map these to voice control, does anyone know how to hack the button mapping ? like the volume sliders
You can only map buttons 1,2,3,and 4
Thanks everyone for your inputs, i have now managed to map the green or red buttons to anything i like, so now i can use my xda earphones green button to tell voice control what to do, works a treat, if anyone wants to know how, just ask.
adam_beasley said:
Thanks everyone for your inputs, i have now managed to map the green or red buttons to anything i like, so now i can use my xda earphones green button to tell voice control what to do, works a treat, if anyone wants to know how, just ask.
Click to expand...
Click to collapse
pls go ahead and post how u did it..
Go to http://ae.inc.ru/aebplus_t.html and install this simply utility onto your XDA (found searching on the forums earlier)
Once this is done, you can choose to unmap hardware buttons (red and green call buttons) as well as the volume slider etc etc
Then, like voice control requires, you go to control panel > buttons.
You will notice the usual "Button 1, Button 2" etc, however now you have the option to map "Green btn" or "Red Btn" (or any button you unmapped)
Link voice control to either of your choice, I used green for this test. Once you have done this, plug in your xda official headphones. You can then press the green button on the earphones to activate voice control, and therefore instruct it to do the usual things.
Tonight this was especially usefull on my bike to work, allowing me to change songs without having to stop and take my xda out my bag each time.
This obviously means you loose the use of the green button for accepting or making calls without remapping each time, the onlt workaround for this is having "Phone" on the start menu and just using the touch buttons on the dialer for calling etc.
Hope this is of use to some people out there, its certainly prompted me to buy the full voice control later today.
You can still use the green button to make calls!
Press the button and say 'CALL whoever'
although it isn't a good idea to make calles while on a bike anyway :lol:
Green Phone button mapping
@adam_beasley:
rather than place the phone icon (shortcut) in the start menu, why not map the phone to let's say contacts or calendar buttons?
you can also map 3 programs to a single button & access the programs by the number of press(es). program 1 = single press, program 2 = double press, and so on....
also, you may try to map the phone function as program 2 in the green button so that when you double press it will function as the usual phone button.
unluckily, I can't test & confirm to you since I haven't reinstalled it yet after the upgrade to WM2k5 V1.60a.
Cheers.
The problem i have from all of this, is that during playback on media player i toggle the screen off to save power, when i do this, my red or green buttons do nothing, even with button lock off.
So even tho this system works well, its flawed bigtime for me over this one problem, anyone have some ideas ?
Why don't you try turning the backlight down to 0%, but leaving the screen on? It's the backlight that is responsible for most of the battery drain.
You could make a profile in PocketZenPhone with all the settings for your audio playback (backlight, volume etc). I seem to remember there is a way to make PocketZenPhone change profile from a button press - you could map a double click of 'hang up' button to change profiles.
I also switch the screen off whilst listening to MP3s and have mapped the Action (joystick click) button to 'toggle' the screen display. In this mode pressing any other button does toggle the screen back on. I do not have the ButtonLock on as you can't then wake the machine up to accept a Voice Command. I have Voice Command currently mapped to the Record button on the side of the device but would like to map to the Green button. I would prefer single press - to answer the phone, double press - to activate Voice Command. I have e-mailed a few questions to the author of the AE Button Plus utility to confirm this can be done.
anybody want voicecommand
Email me i will attach to you.
If only we could map the BT headset to the green button....
Is there a way to get the BT headset into the option list for the green button. Is there some other BT program that facilitates the recognition of the main button of the BT headset?
AE Button Plus has inactivated several buttons in my Blue A
Well, it seems i should read with more attention, but now that the damage is done I hope someone can help.
I installed AE Button Plus in my Blue Angel, and as a result the ok and explorer buttons do not respond to anything anymore. I then unistalled the program, did a a full back up, a hard reset followed be restoration. Nothing has changed, these two buttons are still dead. The don't even show on the list of buttons anymore. Argggghhhh!!
Any help will be appreciated. Thanks
Hi, this is slightly off-topic, but I tried the PC version of Voice Command a long time ago (I don't think M$ still has it out on the streets), and it used to listen to every command, but won't do anything unless I begin the command with the word "Computer"... e.g. "Computer, what time is it?"
Wonder if there is such a switch for the O2... :roll: O2, what's my battery status :lol:
Re: AE Button Plus has inactivated several buttons in my Blu
gonzaloblanco1992 said:
Well, it seems i should read with more attention, but now that the damage is done I hope someone can help.
I installed AE Button Plus in my Blue Angel, and as a result the ok and explorer buttons do not respond to anything anymore. I then unistalled the program, did a a full back up, a hard reset followed be restoration. Nothing has changed, these two buttons are still dead. The don't even show on the list of buttons anymore. Argggghhhh!!
Any help will be appreciated. Thanks
Click to expand...
Click to collapse
This happened to me at first, but i think your biggest fault was backing up while having this error, now any restoration is going to have this fault.
Rather than uninstall, just try installing it again, however when then screen appears with buttons to handle (about 7 drop down boxes), just choose "Do Not Handle" on each button then soft reset, worked on mine, then I uninstalled it.
How to upload the files to ftp, i have voicecommand 1.5, it working fine with me.

Answer the phone on speaker....?

Is it possible to answer the phone on speaker with one button ranther than answer then hit speaker.
I was looking for something like mapping the "Answer" softkey key, not the green handset button, to "Speaker". I think the answer button is worthless as it is just above the pickup button so these 2 buttons do the same job.
Any thoughts?
Thanks for thinking
Couldn't you press green to answer, then hold green to enable speaker?
1 key, 1.5 clicks? 25% saving!
V
vijay555 said:
Couldn't you press green to answer, then hold green to enable speaker?
1 key, 1.5 clicks? 25% saving!
V
Click to expand...
Click to collapse
Holding the green enables speaker..... ?
Testing now.
Press to answer, then press/hold to speaker... cool.

From Mediaplayer to Vibrate - how can this be done automatically?

Hi,
I always have my TyTN in vibrate mode. That means that when I want to listen to music with the headset, I have to switch the volume on (and off when I'm finished). I wonder whethere there is a way to do this automatically. I see three options.
1) Find a mediaplyer that overwrites the system volume but switches back to vibrate when it's turned off. Mortonplayer has such function but only switches back to "volume off" - which is of no help. Any other player on the market that could do better?
2) Obtain some profile that would ask TyTN to do the volume change automatically when the headset is plugged in (I don't think that's feasible).
3) Have at least a function that would allow switching from vibrate to volume on (and vice versa).
Any ideas out there?
Best,
h.
TCPMP - you can instruct it to use the system volume or use its own volume config. Also, you could get the Vibra (switch) app (also off this forum) and bind it to something like your Comm Manager hardware key (I always use either the softkey or the shortcut on screen, so to me that button is useless), and just bind that key to execute the Vibra app - that way one press can flick me between sound and vibrate modes. Quite handy.

Disable Volume Key?

Is there any way to disable the Volume rocker key? It stays active even when the phone is locked so when in my pocket, it often reduces the volume or even puts it off compleatly. Is there a Reg hack to disable it compleatly as the volume can be set via the settings menue.
Regards, Woolly.
This does not happen on my phone.
Anyone else have this problem?
When the phone is put to "sleep" (pressing the on/off button) ,locked or not, all buttons are disabled. The phone will only wake up (all buttons and soft keys enabled) when there is an incoming call or message or when you press the on/off button again. If it's in your pocket during the wake up, that's where the volume button could be pressed by whatever.
That's how it works on mine.
^^+1
The only time the volume buttons are working while phone is sleeping is when I'm listening to music via headset... Otherwise, it works the same as azahidi's...
You can use AE Button Plus ( http://ae.inc.ru/aebplus.php ), I assigned another functions to volume buttons with it and lot of other functions to rest of my buttons. It is $7.99.
You can also use S2U2 ( http://www.ac-s2.com/ ) for locking the phone. It is free.

Adjust volume with the headset's hardware keys?

Most of the times i use the hd2 as an mp3 player when im travelling via the subway station. I keep my phone in my bag and use the headset that came with the device to listen to the music. If i want to skip a song or repeat it, i just use the little hardware keys on the headset. The problem is that if i want to lower the volume, i have to get the phone out of the bag and press the hardware keys on the device to do so.
Back to the headset now, I noticed that if you press and hold the "Pause/Play" button, nothing happens. So i was wondering... Is it possible to make the volume go up and down by pressing the "Pause/Play" button on the headset, with the combination of "Next"(to get the volume up) and "Previous" (to get the volume down)?
(holding "Pause/Play"+"Next" = volume up)
(holding "Pause/Play"+"previous" = volume down)
Also interested
get a bluetooth and everything done, same problem on my iPhone but no more.
Constructive answer Already got a bluetooth but always forget to charge it. Soundquality is slightly worse, reaction time when skipping songs sucks etc.
I have a program for that. Headset Button.
Headset Button recognizes five different types of presses: single, double, triple, long (press & hold) and double long (the second press is long)
Click to expand...
Click to collapse
doesnt say anything about combination but i guess that works as well. thx for the sharing!
runningdap said:
doesnt say anything about combination but i guess that works as well. thx for the sharing!
Click to expand...
Click to collapse
Combinations are not supported. Default assignments are:
Single press "Next" = next track
Long press "Next" = fast forward
Double long press "Next" = volume up
Single press "Prev" = previous track
Long press "Prev" = rewind
Double long press "Prev" = volume down

Categories

Resources