views:

101

answers:

2

Do you know any crash reporting library for Android?

I don't want to spend a lot of time to write my own reporting system.

The output can be send to the email or some kind of server.

I know that Google introduced crash reporting in Froyo, but I want something for older versions of the system.

--

Let's sum up the answers:

+4  A: 

This is what you are looking for: android-remote-stacktrace It sends an email / calls a php script when your application crashes and sends the logcat output. Quite simple to use and very useful!

Remotely log unhandled exceptions in your Android applications

stealthcopter
+1 thx, anything more?
darbat
What more do you need?
stealthcopter
other libraries...
darbat
I'm not aware of any others, this was only one I could find about a month ago when I was looking. Probably unlikely to see too much development in this area because as you pointed out froyo supports crash reporting.
stealthcopter
A: 

Android is all open source, so perhaps you could just extract that part of Froyo and add it to your app as though it were a third-party library. I don't know how easy or feasible that would be, but if it works for you, let us know!

http://source.android.com/source/download.html

MatrixFrog
Android is not all open source. The crash handler is most likely not open source because it depends on the Market.
alexanderblom
@MatrixFrog Unfortunately I haven't got time for such work :-(
darbat
No need to goto all this effort, as it a library has already been written to do it. See my answer above.
stealthcopter
@alexanderblom : I didn't know that. Disappointing. I guess the Market isn't strictly part of Android, arguably.
MatrixFrog