Example #1
0
 @Override
 public void onCreate() {
   super.onCreate();
   LogUtils.d("server start");
   mSocketManager = SocketManager.getManager();
   mSocketManager.connect(DispatchDataService.this, DeviceUtils.getDeviceMacAddress(this));
 }
Example #2
0
 @Override
 public void onDestroy() {
   super.onDestroy();
   LogUtils.d("server destroy");
 }