I am running into an issue with bring up an Activity
to the front.
- When the app is launched the user sets some time (Activity 1)
- Now the app shows a count down time with time decreasing (Activity开发者_运维百科 2)
- Now I press the home button.
- Choose Task Manager, select my app shown in the list and select "Switch To" to bring the app to the front, instead of Activity 2 it ends up on the Activity Screen 1.
What can I do so the task manager switches to the most recent Activity
?
Make sure you are not using FLAG_NEW_TASK when launching Activity 2.
精彩评论