Thursday, August 25, 2011

Application Crash Reporting -- Android Style

In order to provide users with an error-free as possible application, it's imperative that you use some form of Crash Reporting. The ACRA library which is available on Android provides such a framework. Here is how they describe their tool:
"ACRA is a library enabling Android Application to automatically post their crash reports to a GoogleDoc  form. It is targeted to android applications developers to help them get data from their applications when they crash or behave erroneously."

We have integrated the ACRA library into our application, Word Crank, so far I have been able to fix 3 major bugs that did not turn up in testing, but were clearly called out in the Google Doc created by the ACRA tool. We chose to go with the most basic functionality that of sending a Crash Report every time the application Force Closes. However, it is very configurable and can display status messages, custom Android Toasts, etc.

I highly recommend this tool for anyone developing an Android Application. You can download it here: ACRA Crash Reporting Tool

No comments:

Post a Comment