Android: Re-Entering App Displays Different Screen
<p>I am experiencing an intermittent issue. </p>

<p>1: I log into my application and go 2, 3 or more activities into it.
2: I press the home button.
3: I go back into the application.
4: The screen that was showing when I pressed the home button is not showing. A different screen, and not always the same screen, is being displayed.
5: I press the back button and the screen that was being displayed when I first hit the home button shows and it is in the same state as when I left it.</p>

<p>This can happen at any point in the application and it does not happen all the time…about 15% of the time.
If I never leave the app while I am using it, it works great.</p>

<p>I didn’t include any code because this issue can happen from any point within my application so I would have to publish my whole project.  The only thing that makes sense to post is my manifest file. However, posting it would show that I am not doing anything out of the ordinary. </p>

<p>Has anyone else had this issue? I am not using any special attributes (allowTaskReparenting, clearTaskOnLaunch or alwaysRetainTaskState)in my AndoidManifest file.</p>

<p>This is a hard situation to search for. If there is another similar post, I apologize. I did look and could not find another post like this.</p>

<p>Any help would be appreciated and if there is something you would like me to post in order to diagnose I will. I am hoping that this is just some type of config issue and can be easily resolved.</p>

<p>Thanks!   </p>
