public static void addCrashHandler(Activity activity){
  Thread.setDefaultUncaughtExceptionHandler(new CrashHandler(activity));
}

public static void addCrashHandler ( Activity activity ) { Thread . setDefaultUncaughtExceptionHandler ( new CrashHandler ( activity ) ) ; }
addes a crash handler to the app context
