单击通知时,如果应用在后台,则Android创建新实例

发布于 2025-01-30 13:26:50 字数 102 浏览 3 评论 0原文

我有一个应用程序。如果我的应用在后台并接收通知,则在单击通知,应用程序启动的新实例以及此新实例完成后,首先实例将出现并从上次活动启动。 我想要单击通知我的应用程序重新启动并进行初级实例完成。

I have a application. if my app was in background and receive notification, when click on notification, new instance of app launch and when this new instance finished, first instance come foreground and launch from last activity.
I want when click on notification my app restart and first instance finish.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文