I have a somewhat complex view hierarchy, with the focus inside of a
popup window. Navigation inside of the popup window works fine using
the d-pad and enter, the standard navigational controls. Now, I want
to intercept keypresses happening while the popup window has focus.
However, I've tried every method I could think of, including
overriding onKeyDown, adding onKeyListeners, and overriding
onKeyDispatch. I've done it on the overall popup window content view,
individual components of the content view, and in the Activity. In all
cases, they key press seems to be silently eaten, with no obvious
errors in Logcat. The only hint is that, the first time I press a key,
the following warning is printed to Logcat:

01-06 09:38:09.260: WARN/KeyCharacterMap(312): No keyboard for id 0
01-06 09:38:09.260: WARN/KeyCharacterMap(312): Using default keymap: /
system/usr/keychars/qwerty.kcm.bin

It only happens once, and it's the only indication anything is
happening with respect to key events. Can anyone help me get those key
events?

Nisarg Kothari
http://www.stelluxstudios.com/
--~--~---------~--~----~------------~-------~--~----~
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