摘要: 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... 阅读全文
posted @ 2013-05-10 15:39 little_star 阅读(767) 评论(0) 推荐(0) 编辑