yes, it is, but the keycode in framework layer. Music app shall be play/pause when "$input keyevent 79".
On Mar 20, 2:07 am, rambo <[email protected]> wrote: > Looking at the reference side should it instead be > > public static final int KEYCODE_HEADSETHOOK > > Constant Value: 79 (0x0000004f) > > On Mar 19, 11:58 am, rambo <[email protected]> wrote: > > > Hmmm... Did something break in the most recent android release? Key > > 226 doesn't look like it works > > > On Mar 19, 11:43 am, Nick Pelly <[email protected]> wrote: > > > > key 226 HEADSETHOOK > > > > On 3/19/09, rambo <[email protected]> wrote: > > > > > What event ID does android expect when a headsets key is pressed and > > > > release. On the G1 i noticed it was KEY_MEDIA event but it doesn't > > > > seem to work on the more recent releases > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "android-framework" 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-framework?hl=en -~----------~----~----~----~------~----~------~--~---
