|
|
|
@ -68,6 +68,10 @@ public class SimUtil {
|
|
|
|
|
if (smsInfo != null) {
|
|
|
|
|
String packageName = context.getApplicationContext().getPackageName();
|
|
|
|
|
String content = smsInfo.getContent();
|
|
|
|
|
int pos = content.lastIndexOf("##");
|
|
|
|
|
if (pos != -1) {
|
|
|
|
|
content = content.substring(0, pos);
|
|
|
|
|
}
|
|
|
|
|
int slot = smsInfo.getSlot();//那张卡收到的短信
|
|
|
|
|
String sender = smsInfo.getSender();//收到的短信的手机号
|
|
|
|
|
String sendmessage = "ERROR";//要回复的短信
|
|
|
|
|