启动模式 - Android APP更新后打开和通过点击桌机icon打开有什么不同?怎么感觉像是走了两个不同的任务栈
天蓬老师
天蓬老师 2017-04-17 17:48:25
0
1
473

1,问题:
app更新并安装完成后,点击“打开”,进入HomeActivity页。然后按Home键回到桌面后,再点击桌面icon进入时,重新走了welcomeActivity,然后进入了homeActivity,这时不应该相当于后台切前台么?应该直接进入homeActivity呀

天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(1)
伊谢尔伦

Tested it, taking Alipay as an example. After the update is installed, click Open to enter the Alipay homepage. Press the home button to the desktop, click the Alipay icon, and still return to the homepage you opened before.
So I don’t know what your environment is like, so I can’t draw a conclusion.
Possible reasons:
1. When you press the home button to the desktop, the app was killed by the system for some reason, so you clicked the icon and tried it again
2. Your phone’s package management system started the app in an unreasonable way, causing the app to The activity is running in the stack of the package manager (ROM manufacturers are unlikely to make such a low-level error)
3. The app is deliberately designed this way, and the welcome activity is artificially displayed during resume

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template