全球未捕获的异常处理程序 - >电子邮件日志给我吗?我吗、电子邮件、异常、程序

由网友(软糯酥胸)分享简介:有没有办法赶上崩溃在我自己的Andr​​oid应用程序吗?像一个全球性的未捕获的异常处理程序?只是想知道如果我能安装类似的东西,那么如果未捕获的异常被抛出,我会弹出一个对话框,用户并询问他们是否要邮寄的例外转储到我。感谢解决方案 有没有办法赶上崩溃的我自己的Andr​​oid应用程序吗?有点像全球未捕获的异常处理程序...

有没有办法赶上崩溃在我自己的Andr​​oid应用程序吗?像一个全球性的未捕获的异常处理程序?只是想知道如果我能安装类似的东西,那么如果未捕获的异常被抛出,我会弹出一个对话框,用户并询问他们是否要邮寄的例外转储到我。

感谢

解决方案   

有没有办法赶上崩溃的   我自己的Andr​​oid应用程序吗?有点像   全球未捕获的异常处理程序?

请参阅 Thread.setDefaultUncaughtExceptionHandler()

  

只是想知道如果我能安装   类似的东西,那么如果   未捕获的异常被抛出,我可以   弹出一个对话框,让用户和要求   如果他们想邮寄的转储   例外我。

您也可以使用乱舞,DroidDrop,或任何这种已有的其他实现的。

通过发送邮件的方式发表QQ空间日志的功能是不是被腾讯取消了

Is there any way to catch crashes in my own android app? Something like a global uncaught exception handler? Just wondering if I could install something like that, then if an uncaught exception is thrown, I could pop up a dialog for the user and ask if they want to mail a dump of the exception to me.

Thanks

解决方案

Is there any way to catch crashes in my own android app? Something like a global uncaught exception handler?

See Thread.setDefaultUncaughtExceptionHandler().

Just wondering if I could install something like that, then if an uncaught exception is thrown, I could pop up a dialog for the user and ask if they want to mail a dump of the exception to me.

You can also use Flurry, DroidDrop, or any of the other implementations of this already available.

阅读全文

相关推荐

最新文章