Detect android application crash force close

android

Solution

Check out Crittercism. It automatically captures crashes and diagnostics for you and it's free I think.

Problem

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. So, which event should I be looking for in order to detect application crash? ActivityManager.ProcessErrorStateInfo() class basically provides error condition. Can I use this?

Original source