Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在后台运行一段时间后关闭我的应用程序。我发现了许多在后台关闭应用程序以及如何知道应用程序是否在后台运行的示例,但我没有找到与此相关的任何内容。
我想实现像会话这样的自动注销功能,如果没有与应用程序的交互,那么在特定时间间隔之后应该关闭。
任何想法和建议将不胜感激。
谢谢
这是关于应用程序空闲的,请在此处查看。在那里你应该找到一些有用的东西。