|
|
@@ -287,7 +287,7 @@ public class SetActivity extends Activity implements OnClickListener {
|
|
|
params.put("sdk", Build.VERSION.SDK_INT);
|
|
|
downloadFileStream("http://" + ServerAddress_ip + ":"
|
|
|
+ ServerAddress_duankou + Constants.serverAction
|
|
|
- + "/AutoUpgrade", installFilePath, params.toString());
|
|
|
+ + "/AutoUpgradeNew", installFilePath, params.toString());
|
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
|
@@ -800,7 +800,7 @@ public class SetActivity extends Activity implements OnClickListener {
|
|
|
client = new WebClient();
|
|
|
String result;
|
|
|
result = client.doPost("http://" + s+":"+t
|
|
|
- + Constants.GetApkSize,
|
|
|
+ + "/DKService/PDAModuleService/GetApkInfoNew",
|
|
|
jsonObject.toString(), "application/json");
|
|
|
|
|
|
json = new JSONObject(result);
|