Example #1
0
  public static InputMethodInfo getInputMethodInfo(Class classObject) {
    String className = classObject.getName();

    for (InputMethodInfo info :
        ApplicationUtilities.getInputMethodManager().getEnabledInputMethodList()) {
      if (info.getComponent().getClassName().equals(className)) {
        return info;
      }
    }

    return null;
  }