| | |
| | | import com.mm.android.deviceaddmodule.LCDeviceEngine; |
| | | import com.mm.android.deviceaddmodule.mobilecommon.AppConsume.ProviderManager; |
| | | import com.mm.android.deviceaddmodule.openapi.CONST; |
| | | import com.mm.android.deviceaddmodule.openapi.HttpClient; |
| | | import com.usermodule.net.IUserDataCallBack; |
| | | import com.usermodule.net.UserNetManager; |
| | | |
| | |
| | | if(!EventBus.getDefault().isRegistered(this)){ |
| | | EventBus.getDefault().register(this); |
| | | } |
| | | this.iAddCamera = iAddCamera; |
| | | //开启添加页面 |
| | | activity.startActivity(new Intent(activity.getApplication(), DeviceAddActivity.class)); |
| | | HdlToLcUtils.getInstance().requestCameraPermissions(); |
| | | |
| | | } |
| | | |
| | | public void ShowErrorInfo(boolean isShow){ |
| | | HttpClient.SetShowErrorInfo(isShow); |
| | | } |
| | | |
| | | @Subscribe(threadMode = ThreadMode.MAIN) |
| | | public void onGetMessage(String obj) { |
| | | if (obj.equals("backXamarin")) { |