后强行停止启动服务 [英] Start service after force stop

查看:193
本文介绍了后强行停止启动服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有什么办法来启动服务后,用户使用
手动停止的应用程序 设置 - >程序 - >管理应用程序 - >我们的应用程序 - >强制停止

Is there any way to start service after user has manually stopped application using
Settings -> application -> manage application -> our app -> Force stop.

我要重新启动强制关闭后,我的申请。

I want to restart my application after force close.

有没有办法做同样的?

推荐答案

您不能通过启动两个服务堂妹力站将关闭所有的服务相关的特定的应用程序,你的力量stopping.So当用户启动服务做到这一点再次打开该应用程序。

you cant do this by starting two services coz force stop will close all your services related to the particular app which you are force stopping.So start the service when user again opens the app.

这篇关于后强行停止启动服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆