@Override
    public void onSaveInstanceState(Bundle savedInstanceState) {
        super.onSaveInstanceState(savedInstanceState);
        Log.d(TAG, "Saving selections in onSaveInstanceState: "
                + "position: " + currentPosition + ", "
                + "class: " + currentSelection + ", "
                + "mouseEvents: " + enableMouseEvents + ", "
                + "joystickEvents: " + enableJoystickEvents + ", "
                + "keyEvents: " + enableKeyEvents + ", "
                + "VerboseLogging: " + verboseLogging + ", "
        );
        // Save current selections to the savedInstanceState.
        // This bundle will be passed to onCreate if the process is
        // killed and restarted.
        savedInstanceState.putString(SELECTED_APP_CLASS, currentSelection);
        savedInstanceState.putInt(SELECTED_LIST_POSITION, currentPosition);
        savedInstanceState.putBoolean(ENABLE_MOUSE_EVENTS, enableMouseEvents);
        savedInstanceState.putBoolean(ENABLE_JOYSTICK_EVENTS, enableJoystickEvents);
        savedInstanceState.putBoolean(ENABLE_KEY_EVENTS, enableKeyEvents);
        savedInstanceState.putBoolean(VERBOSE_LOGGING, verboseLogging);
    }
Check to see if the class extends Application or SimpleApplication
@param className Class name to check
@return true if the check passes, false otherwise
jme3-android-examples/src/main/java/org/jmonkeyengine/jme3androidexamples/MainActivity.java