摘要:
1 void save(String deviceId) { 2 //添加一个设备,一定要发起网络请求,告诉服务器,让服务器返回一个deviceId 3 4 DeviceInfo mDevice = new DeviceInfo(deviceId); 5 mDevice.setDeviceName(devname); 6 mDevice.setServerAddress(address); 7 mDevice.setPort(port); 8 mDevice.se... 阅读全文