@Override
    protected void onDestroy() {
        logger.fine("onDestroy");
        final DataObject data = (DataObject) getLastNonConfigurationInstance();
        if (data != null || inConfigChange) {
            logger.fine("In Config Change, not stopping app.");
        } else {
            if (app != null) {
                app.stop(!isGLThreadPaused);
            }
        }
        setContentView(new TextView(this));
        ctx = null;
        app = null;
        view = null;
        JmeAndroidSystem.setView(null);

        super.onDestroy();
    }
Splash Screen picture Resource ID. If a Splash Screen is desired, set
splashPicID to the value of the Resource ID (i.e. R.drawable.picname). If
splashPicID = 0, then no splash screen will be displayed.
jme3-android/src/main/java/com/jme3/app/AndroidHarness.java