ANR的更改自定义对话框(应用程序无响应)对话框(Android版) [英] Change Custom dialog of ANR(Application not responding) dialog (Android)
问题描述
我一个书面方式启动的应用程序(如主屏幕应用)。我想知道我们是否可以拦截当一些应用程序不能在5秒内作出反应时默认对话框。我要的是:不是显示默认的警告对话框启动器将显示另一个对话框。我在Google上搜寻了一段时间,但没有发现任何东西。谁能告诉我是否有可能?
谢谢你在前进
I am writting an applications launcher (like home screen application). And I am wondering whether we can intercept the default dialog occurs when some application doesn’t respond in 5 seconds. What I want is: instead show the default alert dialog the launcher will show another dialog. I was googling for a while but haven’t found anything. Could anyone please tell me whether it is possible ? Thank you in advance
推荐答案
这对话框是一个系统对话框,警告用户的Android不能让这个程序做的工作,因为它似乎已经坠毁。因此,我不认为这个对话将被允许改变。为什么你想反正要改变它呢?
This dialog is a system dialog, warning the user Android can't let this app do its job because it seems to have crashed. So I don't think this dialog would be allowed to be changed. Why would you want to change it anyway ?
这篇关于ANR的更改自定义对话框(应用程序无响应)对话框(Android版)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!