예제 #1
0
 @Override
 protected void onStop() {
   super.onStop();
   //        if(serviceConnection != null){
   //            MORTClientNetworkService.unbind(getApplicationContext(), serviceConnection);
   //        }
   sDeviceInfoServer.stopCameraServer();
   sDeviceInfoServer.stopSensorServer();
 }
예제 #2
0
 @Override
 protected void onStart() {
   super.onStart();
   //        MORTClientNetworkService.bind(getApplicationContext(), serviceConnection);
   if (mMortClient == null) {
     mMortClient = new MORTClient(this);
     mMortClient.setMORTClientNetworkListener(mortClientNetworkListener);
     showProgress("확인 중", "확인 중.....");
     mMortClient.searchMortDevice();
   }
   sDeviceInfoServer.startCameraServer();
   sDeviceInfoServer.startSensorServer();
 }