Updated to use use ReportPostingService

Change-Id: Id6a0fac91919f0ae68b27eddaa34a8a5f669a2ae
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
2012-02-29 13:00:22 -05:00
parent d51327f255
commit 7f03a660e8
3 changed files with 20 additions and 9 deletions

View File

@@ -22,6 +22,12 @@
</activity> </activity>
<activity android:name="com.TwentyCodes.android.exception.ExceptionReportActivity" > <activity android:name="com.TwentyCodes.android.exception.ExceptionReportActivity" >
</activity> </activity>
<service
android:name="com.TwentyCodes.android.exception.ReportPostingService"
android:enabled="true"
android:process=":ExceptionReportingService" >
</service>
</application> </application>
</manifest> </manifest>

View File

@@ -1,18 +1,21 @@
# exceptionhandler.properties # exceptionhandler.properties
# This is the default Twenty Codes, LLC Exception Handler properties file # @author ricky barrette <rickbarrette@gmail.com>
# # @author twenty codes <twentycodes@gmail.com>
# @author Twenty Codes, LLC
# @author ricky barrette
# This file is used to tell the Exception Handler LIbrary how to file
# The following is for using our custom server based exception handler web application # new exception reports
# HTTP ONLY # HTTP ONLY
#
# Place this file in you project's assets folder and edit as needed
#
# server is the physical web address for your server # server is the physical web address for your server
# file is the path to your filing script # file is the path to your filing script
# get is the path to your json retrieval script # get is the path to your json retrieval script
server = http://powers.doesntexist.com:666/testing # app is the redmine project name
file = /index.php?post=1 # tracker is the redmine tracker
#get = /index.php?get=1 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. # uncomment the following if you want your application to use email to file reports.
# if this is uncommented, email will always be used. # if this is uncommented, email will always be used.

View File

@@ -37,6 +37,8 @@ public class Main extends FragmentActivity {
Thread.setDefaultUncaughtExceptionHandler(new ExceptionHandler(this)); Thread.setDefaultUncaughtExceptionHandler(new ExceptionHandler(this));
setContentView(R.layout.main); setContentView(R.layout.main);
Integer.parseInt("poop");
ArrayList<Fragment> fragments = new ArrayList<Fragment>(); ArrayList<Fragment> fragments = new ArrayList<Fragment>();
fragments.add(new ReportListFragment("http://powers.doesntexist.com:666/?get=1")); fragments.add(new ReportListFragment("http://powers.doesntexist.com:666/?get=1"));
fragments.add(new ReportListFragment("http://powers.doesntexist.com:666/testing/?get=1")); fragments.add(new ReportListFragment("http://powers.doesntexist.com:666/testing/?get=1"));