meadl-devel team mailing list archive
-
meadl-devel team
-
Mailing list archive
-
Message #00041
input method -- forcing the keyboard open
Hello all,
I ran into a problem with displaying the input view. And I need everyone's help for suggestions.
Currently, we are using the InputMethodService class and its built in Keyboard class to compose our input view (custom keyboard) for Tekla. We need to be able to keep the input view on the screen at all times. We have already successfully shown the view when an EditText widget is on the screen.
To keep the input view on the screen without the presence of an EditText widget, we had a suggestion of using something like imManager.showSoftInput(View view, int flags) . Please read our wiki page for details. This approach doesn't work because the first parameter requires an EditText object. If I pass null to this parameter, the input view does not show.
I would like to ask everyone for suggestions for possible solutions. If it works, it is actually the best way to show the input view. However, I am not so optimistic about it at the moment and I am preparing to abandon this approach.
Thanks, Eric
References