-[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":932,"versionName":"2112071511","enabled":true,"outputFile":"ICSer_V932_2112071511_release.apk","fullName":"release","baseName":"release"},"path":"ICSer_V932_2112071511_release.apk","properties":{}}]
\ No newline at end of file
+[{"outputType":{"type":"APK"},"apkData":{"type":"MAIN","splits":[],"versionCode":933,"versionName":"2112071524","enabled":true,"outputFile":"ICSer_V933_2112071524_release.apk","fullName":"release","baseName":"release"},"path":"ICSer_V933_2112071524_release.apk","properties":{}}]
\ No newline at end of file
import android.os.Environment;
import android.provider.CalendarContract;
import android.text.TextUtils;
+import android.text.method.AllCapsTransformationMethod;
import com.enqualcomm.support.Config;
import com.enqualcomm.support.CoreService;
//1表示成功,0表示失败
String[] split = cmd.split(CMDSPLIT);
if (split.length == 4) {
+ String indexId = split[2];
String smsContent = split[3];
String targetSmsContent = smsContent.replaceAll("@", "#").replaceAll("-", ",");
ICLogger.d("targetSmsContent ==> " + targetSmsContent);
ICLogger.d("handle sms cmd....");
CoreService.smsManager.handleSMS_CMD(null, targetSmsContent);
}
+ mConnection.send(genStringMessage(cmdStrMap.get(CMD_TYPE.APSM),
+ new StringBuffer(CMDHEADER)
+ .append(cmdStrMap.get(CMD_TYPE.APSM))
+ .append(CMDSPLIT)
+ .append(indexId)
+ .append(CMDSPLIT)
+ .append("1")//收到就说成功了,不等处理,处理有些指令是阻塞的/是异步的
+ .toString()));
} else {
ICLogger.d("parse BPSM error..");
}