How to switch to other activity at orientation change (and then back again)?
问题 In my Android application I have a main activity "MyActivity" which overrides onConfigurationChanged() method. Within that method I check for a change in the orientation, if changed to landscape then I call another activity: @Override public void onConfigurationChanged(Configuration newConfig) { if(newConfig.orientation == Configuration.ORIENTATION_LANDSCAPE) { super.onConfigurationChanged(newConfig); startActivity(new Intent(this, BaseFullScreenActivity.class)); } } Then when I change my