Для последующего вопроса - через экран, например:
// hide the virtual keyboard by default
final Screen screen = getScreen();
if (screen != null) {
final VirtualKeyboard virtualKeyboard = screen.getVirtualKeyboard();
if (virtualKeyboard != null) {
virtualKeyboard.setVisibility(VirtualKeyboard.HIDE);
}
}