I have a bluetooth headset that I originally bought for phone calls. It's a 
simple model, it has a multi-function button and volume control. However, 
I'm trying to write an application that can work with that muti-function 
button on my headset. I know this button press is signaled by the AT 
command, AT+CKPD=200, which is typical of most headsets when they want to 
tell the phone the "call button" has been pressed. The bluetooth api gives 
access to vendor-specific AT commands, however, this one and the command 
for volume control are core AT commands, not vendor-specific ones, and so 
the phone has it's own procedure for responding to those commands. When 
pressed, the phone receives the command and opens up the voice command 
application, regardless of any broadcast receivers I have present. Is there 
anyway I can intercept this command so I can decide what to do with it 
instead of opening up the voice commands application? This is not a media 
button so listening for media button events does not work either. 

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to