Android examples for android.view.inputmethod:InputMethodManager
is Key Board Shown
//package com.java2s; import android.content.Context; import android.view.inputmethod.InputMethodManager; public class Main { public static boolean isKeyBoardShow(Context _context) { InputMethodManager immDefault = (InputMethodManager) _context .getSystemService(Context.INPUT_METHOD_SERVICE); return immDefault.isActive(); }//from ww w . j a v a 2 s . c om }