Android App Power Attack Detection

I am writing a crash report application that will start as a service in the background and should be able to detect other application failures and provide the user with the ability to report an error.

So what event should I look for to detect application failure?

The ActivityManager.ProcessErrorStateInfo () class basically provides an error condition. Can i use this?

+8
android
source share
3 answers

Check out Crittercism . I think it automatically fixes failures and diagnostics for you, and it's free.

+5
source share

You mean something like this:

Thread.setDefaultUncaughtExceptionHandler(new UncaughtExceptionHandler() { @Override public void uncaughtException(Thread t, Throwable e) { // TODO implement this } }); 
+4
source share

You can check out the ACRA app.

This is an Android emergency reporter licensed by Apache. I do not think this will help you detect crashes in other applications. By the way, I'm not sure if this is possible.

+2
source share

All Articles