查看默认输入法信息

final PackageManager pm = getPackageManager();
  List<ResolveInfo> services = pm.queryIntentServices(
                new Intent(InputMethod.SERVICE_INTERFACE),
                PackageManager.GET_META_DATA);
  for(int i=0;i<services.size();i++)
  {
   System.out.println("查看="+services.get(i));
  }

你可能感兴趣的:(输入法)