//判断卡槽1中是不是有卡
boolean hasIccCard1 = MSimTelephonyManager.getDefault().hasIccCard(0);
//判断卡槽2中是不是有卡
boolean hasIccCard1 = MSimTelephonyManager.getDefault().hasIccCard(0);
//判断卡槽1中是不是有卡
boolean hasIccCard1 = MSimTelephonyManager.getDefault().hasIccCard(0);
//判断卡槽2中是不是有卡
boolean hasIccCard1 = MSimTelephonyManager.getDefault().hasIccCard(0);