I didn't figure out how to use onKeyPreIme, but I found a different way to work around the problem. In my activity layout file I added the following line to the view elements in the hierarchy which would sometimes get the DPAD events that I wanted to go to the activity.
android:focusable="false" After adding this line to the layout elements my original code using Activity.onKeyDown works fine. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

