ComponentName mComponentName = new ComponentName("xx.xx.xx",
"xx.xx.xx.receivers.BootReceiver");
"xx.xx.xx.receivers.BootReceiver");
int a = getPackageManager().getComponentEnabledSetting(mComponentName);
3种状态
public static final int COMPONENT_ENABLED_STATE_DEFAULT = 0;
public static final int COMPONENT_ENABLED_STATE_ENABLED = 1;
public static final int COMPONENT_ENABLED_STATE_DISABLED = 2;
另外:data/system/package.xml 在这里能找出各个应用所对应的全部权限以及其他信息。