Esempio n. 1
0
  @Override
  protected void onDestroy() {

    BDLocUtil.unregisterLocListener(this);
    myOrientationListener.stop();

    if (mapView != null) {
      mapView.onDestroy();
      mapView = null;
    }

    if (rpSearch != null) {
      rpSearch.destroy();
      rpSearch = null;
    }
    super.onDestroy();
  }