你看得懂的......
if (parts.size() > 1) {
try {
ISms iccISms;
if(Config.DUALCARDFLG) {
if(mPhoneType == Phone.PHONE_TYPE_GSM) {
iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms_gsm"));
}
else {
iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms"));
}
if (iccISms != null) {
iccISms.sendMultipartText(destinationAddress, scAddress, parts,
sentIntents, deliveryIntents);
}
}
else {
iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms"));
if (iccISms != null) {
iccISms.sendMultipartText(destinationAddress, scAddress, parts,
sentIntents, deliveryIntents);
}
}
} catch (RemoteException ex) {
// ignore it
}
} else {
......
if (parts.size() > 1) {
try {
ISms iccISms;
if(Config.DUALCARDFLG) {
if(mPhoneType == Phone.PHONE_TYPE_GSM) {
iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms_gsm"));
}
else {
iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms"));
}
if (iccISms != null) {
iccISms.sendMultipartText(destinationAddress, scAddress, parts,
sentIntents, deliveryIntents);
}
}
else {
iccISms = ISms.Stub.asInterface(ServiceManager.getService("isms"));
if (iccISms != null) {
iccISms.sendMultipartText(destinationAddress, scAddress, parts,
sentIntents, deliveryIntents);
}
}
} catch (RemoteException ex) {
// ignore it
}
} else {
......
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货