@Override
    public void onDestroy() {
        super.onDestroy();
        Log.d(TAG, "onDestroy");
        deviceready = false;
    }
The final call you receive before your activity is destroyed.
src/android/LocalNotification.java