title: ANDROID - Orientation changes
body: <p>I am actually having the following problem : I can not enter in the method <code>onConfigurationChanged</code> when I change the orientation of the emulator.</p>
  
  <p>This is my method :</p>
  
  <pre><code>@Override
  public void onConfigurationChanged(Configuration newConfig) {
      super.onConfigurationChanged(newConfig);
   // Checks the orientation of the screen
      if (newConfig.orientation == Configuration.ORIENTATION_LANDSCAPE) {
          Log.i("ORIENTATION", "CHANGED TO LANDSCAPE");
  
  
  
      } else if (newConfig.orientation == Configuration.ORIENTATION_PORTRAIT){
          Log.i("ORIENTATION", "CHANGED TO PORTRAIT");
      }
  }
  </code></pre>
  
  <p>I do not have any log when i change the orientation ..</p>
  
  <p>I have read that a modification happened from the older version about the manifest, the older verstion was :</p>
  
  <pre><code>**android:configChanges="orientation|keyboard"**
  </code></pre>
  
  <p>And the new one is :</p>
  
  <pre><code>**android:configChanges="orientation|keyboard|screenSize"**
  </code></pre>
  
  <p>My manifest : </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.fruitsapp"
      android:versionCode="1"
      android:versionName="1.0" &gt;
  
      &lt;uses-sdk
          android:minSdkVersion="8"
          android:targetSdkVersion="18" /&gt;
  
      &lt;application
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
          &lt;activity
              android:name="com.example.fruitsapp.MenuFruitsActivity"
              android:label="@string/app_name"
              android:configChanges="orientation|keyboard|screenSize"
              &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
  
           &lt;activity 
               android:label="@string/app_name" 
               android:name=".DescriptionFruitActivity"
               android:configChanges="orientation|keyboard|screenSize"&gt;
           &lt;/activity&gt;
  
      &lt;/application&gt;
  
  
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>Unfortunatly, after loads of tries, I still not have Log to signal that my orientation changed ..</p>
  
  <p>Regards.</p>