Activities enter onCreate all the time
<p>I am getting crazy with a problem...</p>

<p>The point is, I have an Activity called LogIn. This is how it is declared on the manifest:</p>

<pre><code>&lt;activity
        android:name=".LogIn"
        android:windowSoftInputMode="stateHidden"
        android:configChanges="keyboardHidden|orientation"
        android:label="@string/app_name" &gt;
    &lt;/activity&gt;
</code></pre>

<p>I was reading that after writing <em><code>android:configChanges="keyboardHidden|orientation</code></em>, the application was not entering on onCreate again when you were changing the orientation.</p>

<p>The problem is that my application is entering onCreate ALL THE TIME. I am debugging using Eclipse, and when I open the app, enters (that´s normal), then, if I wait until the phone is off, enters again on onCreate!!, after, I turn it on and it enters again!!.
I thought that when the app was "behind" another one it was entering on onPause, and then, when it was comming back from background, the Activity was going to onResume(), but no....on my app it is going to onCreate() again....</p>

<p>I don´t know what to do for my application to work properly......</p>

<p>Can anybody help me, please?</p>
