得到一个事件时,强制用户从设置关闭在Android的应用程序? [英] Get an Event when User FORCE CLOSE my application from settings in Android?

查看:116
本文介绍了得到一个事件时,强制用户从设置关闭在Android的应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在处理我的Andr​​oid应用程序的系统服务。我有时间去验证用户时,他/她强行关闭应用程序。对于这个我是一个需要得到一个事件,当用户强制关闭从设置的应用程序。请建议我如何才能做到这一点?

I am working to deal with the System services about my android application. I have to Authenticate user at the time when he/she Force Close the application. For this I am in a need to get an EVENT when user FORCE CLOSE the application from Settings. Please suggest me how can I achieve this ??

推荐答案

假设由强制关闭你的意思是强制停止的设置,这是不可能的。

Assuming that by "Force Close" you mean "Force Stop" in Settings, this is not possible.

这篇关于得到一个事件时,强制用户从设置关闭在Android的应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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