tags:

views:

33

answers:

1

Hi, I have an application with a WebView. The WebView opens a page and there is a input field on the page. If the users clicks on the input field and presses for long some of the submission buttons, a "input method" popup appears (from Android).

How can I remove this popup? I tried override-ing the onTouch, onKeyLongPress and some other methods to return false, but it doesn't seem to work.

A: 

I don't think it's possible to remove that at all. It's like a chooser for different on-screen keyboards.

In order to remove it, you have to remove the keyboards from the settings. If there is one, it won't be displayed, but this is a user choice.

Pentium10
Can't I set the application to use one exact inputMode? Is there no such possibility ?
George
@George: You have no right to dictate to the user what input method to use, any more than you have the right to dictate to the user what color pants they are allowed to wear.
CommonsWare
I really don't see the connection in your metaphor.
George
What I meant to say is that I need to remove the popup, which is being problematic on one particular activity. I though by choosing a specific input method (soft onscreen keyboard for example) for the current activity would solve the issue for me, but there are better and clearer ways to say that this is problematic and abusing the user in some way. Still, thanks for your post.
George