Removing an activity from the history stack

后端 未结 15 947
[愿得一人]
[愿得一人] 2020-11-22 08:28

My app shows a signup activity the first time the user runs the app, looks like:

  1. ActivitySplashScreen (welcome to game, sign up for an account?)
  2. Activ
15条回答
  •  粉色の甜心
    2020-11-22 08:56

    Try this:

    intent.addFlags(Intent.FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY)

    it is API Level 1, check the link.

提交回复
热议问题