| | |
| | | import com.google.gson.JsonObject;
|
| | | import com.mm.android.deviceaddmodule.LCDeviceEngine;
|
| | | import com.mm.android.deviceaddmodule.mobilecommon.AppConsume.BusinessException;
|
| | | import com.mm.android.deviceaddmodule.mobilecommon.common.Constants;
|
| | | import com.mm.android.deviceaddmodule.mobilecommon.utils.PreferencesHelper;
|
| | | import com.mm.android.deviceaddmodule.openapi.HttpSend;
|
| | |
|
| | | import org.json.JSONObject;
|
| | |
|
| | | import java.util.HashMap;
|
| | |
|
| | |
| | | return true;
|
| | | }
|
| | |
|
| | | public static boolean recoverSDCard(String deviceId) throws BusinessException{
|
| | | HashMap<String, Object> paramsMap = new HashMap<String, Object>();
|
| | | paramsMap.put("token", LCDeviceEngine.newInstance().accessToken);
|
| | | paramsMap.put("deviceId", deviceId);
|
| | | HttpSend.execute(paramsMap, MethodConst.RECOVER_SDCARD,TIME_OUT);
|
| | | return true;
|
| | | }
|
| | |
|
| | | /**
|
| | | * 获取设备版本和可升级信息
|
| | | *
|