I opened the ppt through Polaris application by clicking the button on B activity, which is the first screen of application a. In that state, press the Home key to go to the Home screen.
At this time, I want the following cases to occur.
When setting the int to open the ppt file in case number 1, Setting Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET succeeded. However, I tried many methods for number 2, but the ppt screen comes out.
What do we do to be cases 1 and 2?
activity task
For number 2, Intent.Try the FLAG_ACTIVITY_NO_HISTORY flag.
FLAG_ACTIVITY_NO_HISTORY If set, the new activity is not kept in the history stack.
© 2024 OneMinuteCode. All rights reserved.