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 -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting