Beispiel #1
0
 @Override
 public void onDestroy() {
   sInstance = null;
   if (mBoundToService) {
     unbindService(this);
     mBoundToService = false;
   }
   super.onDestroy();
 }