It would be great if Phone application would support both muting and
un-muting the call as well as hanging up current call from the headset
button.
One of the ways to support it would be to recognize a long press of
the headset button. Currently when headset buttong is pressed during
the call, phone mutes and un-mutes continuously, which is not useless.
IMHO 2 section press would be fine.

On Apr 14, 11:32 am, Marco Nelissen <marc...@android.com> wrote:
> The headset button already answers an incoming call, but once you're
> in the call, it mutes/unmutes.
> If you want it to hang up the call instead, you'll need to modify the
> Phone application.On Tue, Apr 14, 2009 at 2:44 AM, sein 
> <fang.sh...@zte.com.cn> wrote:
>
> > When I'm testing the functionality of the  headset button in a call,it
> > just muted the mic,didn't hang up the call.And if there is no
> > call,when I press the button,there will be a song playing,so I think
> > the keycode is correctly reported.there maybe some code I need to add?
> > Anybody knows how to?

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

Reply via email to