@Override public void onDestroy(){
  LOG.d(TAG,"CordovaActivity.onDestroy()");
  super.onDestroy();
  if (this.appView != null) {
    appView.handleDestroy();
  }
 else {
    this.activityState=ACTIVITY_EXITING;
  }
}

@ Override public void onDestroy ( ) { LOG . d ( TAG , "CordovaActivity.onDestroy()" ) ; super . onDestroy ( ) ; if ( this . appView != null ) { appView . handleDestroy ( ) ; } else { this . activityState = ACTIVITY_EXITING ; } }
the final call you receive before your activity is destroyed .
