title: android activity onResume and onPause is called so many time
body: <p>I create one application when phone come from deep sleep mode in my activity onResume and onPause method is called so many times.<br>
  I implemented the following method of activity:<br>
  <code>onSaveInstanceState</code>, <code>onRestoreInstanceState</code>, <code>onPause</code>, <code>onResume</code>, <code>onCreate</code>, onStart, <code>onRestart</code>, <code>onStop</code> and <code>onDestroy</code> method and my activity configuration is</p>
  
  <pre><code> &lt;activity
              android:name=".ScreenActivity"  
              android:label="@string/app_name"
              android:screenOrientation="portrait"
              android:configChanges="keyboardHidden|orientation"  
              android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"                            
              &gt;
          &lt;intent-filter&gt;
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
    &lt;/activity&gt;
  </code></pre>
  
  <p>Here is My log information  </p>
  
  <pre><code>2012_10_16   11:58:8:80 PM: ScreenActivity.onResume:  Activity interacting with user
  2012_10_16   11:58:8:119 PM: ScreenActivity.onSaveInstanceState:  onSaveInstanceState method called
  2012_10_16   11:58:8:119 PM: ScreenActivity.onPause:  current activity got paused
  2012_10_16   11:58:8:380 PM: ScreenActivity.onResume:  Activity interacting with user
  2012_10_16   11:58:8:409 PM: ScreenActivity.onSaveInstanceState:  onSaveInstanceState method called
  2012_10_16   11:58:8:411 PM: ScreenActivity.onPause:  current activity got paused
  2012_10_16   11:58:8:434 PM: ScreenActivity.onResume:  Activity interacting with user
  2012_10_16   11:58:8:493 PM: ScreenActivity.onSaveInstanceState:  onSaveInstanceState method called
  2012_10_16   11:58:8:497 PM: ScreenActivity.onPause:  current activity got paused
  2012_10_16   11:58:10:885 PM: ScreenActivity.onResume:  Activity interacting with user
  2012_10_16   11:58:10:914 PM: ScreenActivity.onSaveInstanceState:  onSaveInstanceState method called
  2012_10_16   11:58:10:916 PM: ScreenActivity.onPause:  current activity got paused
  2012_10_16   11:58:10:999 PM: ScreenActivity.onResume:  Activity interacting with user
  2012_10_16   11:58:11:32 PM: ScreenActivity.onSaveInstanceState:  onSaveInstanceState method called
  </code></pre>
  
  <p>Please provide help </p>