From 7f03a660e8b9e6ff47973e6920a9b59a5021065c Mon Sep 17 00:00:00 2001 From: Ricky Barrette Date: Wed, 29 Feb 2012 13:00:22 -0500 Subject: [PATCH] Updated to use use ReportPostingService Change-Id: Id6a0fac91919f0ae68b27eddaa34a8a5f669a2ae Signed-off-by: Ricky Barrette --- ExceptionReportViewer/AndroidManifest.xml | 6 ++++++ .../assets/exceptionhandler.properties | 21 +++++++++++-------- .../android/ExceptionReportViewer/Main.java | 2 ++ 3 files changed, 20 insertions(+), 9 deletions(-) diff --git a/ExceptionReportViewer/AndroidManifest.xml b/ExceptionReportViewer/AndroidManifest.xml index 5aed54e..70881ab 100644 --- a/ExceptionReportViewer/AndroidManifest.xml +++ b/ExceptionReportViewer/AndroidManifest.xml @@ -22,6 +22,12 @@ + + + \ No newline at end of file diff --git a/ExceptionReportViewer/assets/exceptionhandler.properties b/ExceptionReportViewer/assets/exceptionhandler.properties index 3d072f2..160b9d9 100644 --- a/ExceptionReportViewer/assets/exceptionhandler.properties +++ b/ExceptionReportViewer/assets/exceptionhandler.properties @@ -1,18 +1,21 @@ # exceptionhandler.properties -# This is the default Twenty Codes, LLC Exception Handler properties file -# -# @author Twenty Codes, LLC -# @author ricky barrette +# @author ricky barrette +# @author twenty codes - -# The following is for using our custom server based exception handler web application +# This file is used to tell the Exception Handler LIbrary how to file +# new exception reports # HTTP ONLY +# +# Place this file in you project's assets folder and edit as needed +# # server is the physical web address for your server # file is the path to your filing script # get is the path to your json retrieval script -server = http://powers.doesntexist.com:666/testing -file = /index.php?post=1 -#get = /index.php?get=1 +# app is the redmine project name +# tracker is the redmine tracker +server = http://rickbarrette.dyndns.org:8080/redmine/exceptionhandler +app = test +tracker = Bug # uncomment the following if you want your application to use email to file reports. # if this is uncommented, email will always be used. diff --git a/ExceptionReportViewer/src/com/TwentyCodes/android/ExceptionReportViewer/Main.java b/ExceptionReportViewer/src/com/TwentyCodes/android/ExceptionReportViewer/Main.java index 131fd24..0a10b62 100644 --- a/ExceptionReportViewer/src/com/TwentyCodes/android/ExceptionReportViewer/Main.java +++ b/ExceptionReportViewer/src/com/TwentyCodes/android/ExceptionReportViewer/Main.java @@ -37,6 +37,8 @@ public class Main extends FragmentActivity { Thread.setDefaultUncaughtExceptionHandler(new ExceptionHandler(this)); setContentView(R.layout.main); + Integer.parseInt("poop"); + ArrayList fragments = new ArrayList(); fragments.add(new ReportListFragment("http://powers.doesntexist.com:666/?get=1")); fragments.add(new ReportListFragment("http://powers.doesntexist.com:666/testing/?get=1"));