Code example for InputMethodInfo

Methods: getServiceInfo

    public String getPackageName() {
        return mImi.getPackageName();
    public ServiceInfo getServiceInfo() {
        return mImi.getServiceInfo();
    public int getSubtypeCount() { 
        return (Integer) CompatUtils.invoke(mImi, 0, METHOD_getSubtypeCount);
    public InputMethodSubtypeCompatWrapper getSubtypeAt(int index) {
        return new InputMethodSubtypeCompatWrapper(CompatUtils.invoke(mImi, null,
                METHOD_getSubtypeAt, index));
    public CharSequence loadLabel(PackageManager pm) {
        return mImi.loadLabel(pm);
Connect your IDE to all the code out there  Get Codota for Java