added setIMEKeyboardState support to show virtual keyboard