Ajith Kamath
unread,Oct 11, 2010, 11:34:50 PM10/11/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-porting, android-d...@googlegroups.com, Erin Yueh, 0xlab...@googlegroups.com, Pavan Savoy
Hi
I am facing a problem with Bluetooth Headset and KeyCharacter Mapping
When I press play/pause button from Samsung sbh-170 , its not getting reflected in Phone.
I traced and came to know that , normally scan code of 164, keycode of 85 is formed when i press Headset play/pause. And PhoneWindow manager will intercept this and send ACTION_MEDIA_BUTTON if keycode =85 (KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE).
But keycode that I'm getting is 0 even when i press headset play/pause in PhoneWindow Manager. Even in KeyInputQueue, the keycode that is obtained is 0
Does anybody when keycode gets generated??
Also I got following error in log :
AVRCP: Send key 164 (1) fd=23
WARN/KeyCharacterMap(2550): Can't open keycharmap file
WARN/KeyCharacterMap(2550): Error loading keycharmap file '/system/usr/keychars/AVRCP.kcm.bin'. hw.keyboards.131077.devname='AVRCP'
WARN/KeyCharacterMap(2550): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
Can this be a problem ? If so , how??
Please suggest.
Regards,
Ajith