Re: [android-developers] Hardware keyboard events are not intercepted by InputMethodService
Is this only in Firefox, or also in the built-in browser app? The app always does get first crack at input events, so it is possible for a broken application to do this kind of thing. (This facility is intended for things like capturing back to dismiss a pop-up instead of closing the IME.)
On Wed, Aug 8, 2012 at 3:07 PM, AK <aleksandr.v.konstantinov@gmail.com> wrote:
Hello all,I'm trying to develop keyboard service which performs customized keys mapping for hardware keyboard.My working target is Asus Transformer TF101 with ICS 4.0.3 and hardware keyboard aka dock.I have implement onKeyDown and onKeyUp methods of InputMethodService which catch all keyboardevents and it all works perfectly in ordinary text fields.But when text is being entered into web browser's text field handled by javascript (like google search fieldin Firefox for example) most keyboard events are not going through onKeyDown anymore. Actually it lookslike only BACK and META are catched by InputMethodService.And it is not only my service which looses ability to map keys. Asus Keyboard service supplied as part offirmware also stops functioning effectively allowing to enter text in ASCII only. Which by the way isextremely annoying.Any ideas on what I am doing wrong? Or is it some bug in ICS?Regards,A.K.--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
Dianne Hackborn
Android framework engineer
hackbod@android.com
Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home