且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何在Android中创建高级任务杀手无法杀死的服务

更新时间:2022-04-14 02:46:12

任何人都知道如何处理该问题,因此我可以在任务杀手杀死我的应用程序的同时收听SMS(自动启动服务)

anyone have idea how to handle that problem, so i can listen to the SMS (auto started service) while task killer have killed my application

如果用户通过设置"或任务杀手"强制停止您的应用程序,则表示您的应用程序不应运行.请尊重并尊重该决定.

If the user force-stops your application via Settings or a task killer, the user is saying that your app is not supposed to run. Please honor and respect that decision.

从Android 3.1开始,您的应用程序在被强制停止后不会再次运行,直到用户从活动中再次启动它为止.

As of Android 3.1, your application will not run again after being force-stopped, until the user launches it again from an activity.