检测的Android应用程序崩溃强制关闭 [英] Detect android application crash force close
本文介绍了检测的Android应用程序崩溃强制关闭的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我写的崩溃报告应用程序,它运行在后台的服务,应该能够检测到其他应用程序崩溃,和present用户会选择有误。 问题是检测应用crash.which事件应该是我期待的。
I am writing an crash report application which will run as a service in background and should be able to detect other application crash, and present a user will option to report error. The problem is detecting application crash.which event should be i looking for.
ActivityManager.ProcessErrorStateInfo()类基本上提供了错误状态。我可以利用这一点。
ActivityManager.ProcessErrorStateInfo() class basically provides error condition. can i use this.
谢谢, 学习者。
推荐答案
查看 Crittercism 。它会自动捕捉你崩溃和诊断,它是免费的,我认为。
Check out Crittercism. It automatically captures crashes and diagnostics for you and it's free I think.
这篇关于检测的Android应用程序崩溃强制关闭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文