private void initializeCommonFields() {

        // initialize commonly used members
        res = this.getResources();
        app = (CgeoApplication) this.getApplication();

        ActivityMixin.onCreate(this, false);
    }
Common actions for all onCreate functions.
main/src/main/java/cgeo/geocaching/activity/AbstractActivity.java