背景服务运行像媒体应用一样继续
如何在以下步骤中实施类似于“媒体应用”前景服务:
- 应用程序转到
- 从背景中杀死的背景应用程序
- 锁定的背景应用程序,或者手机已锁定到“空闲模式”
中,在上述三种情况下,媒体应用程序永远不会停止前景服务,没有任何电话活动。 我们在应用程序中需要相同的情况,该怎么做?
How to implement similar to "media app" foreground service for this following steps:
- App goes to background
- App killed from background
- The phone is locked or the phone has gone to "idle mode"
In the above three cases the media app never stops the foreground service, without any phone activity.
We need a same case in our app, how to do that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论