0

I'm working on my first app. If a user navigates from my main activity to another (Main > A) and then puts the app in the background and clicks the launcher, it launches into Main instead of resuming activity A. The user can then back to A, so the stack is Main > A > Main. I want the launcher to merely resume where the user was in activity A instead of starting a new Main activity. How do I control this?

NSouth
  • 5,067
  • 7
  • 48
  • 83

1 Answers1

0

"it launches into Main instead of resuming activity A. The user can then back to A, so the stack is Main > A > Main "

this is definatly wrong, your stack know is Main>A and please provide code. maybe the android destroy your activity because of low memory or you call somewhere finish() method.

mmlooloo
  • 18,937
  • 5
  • 45
  • 64