Updated to use use ReportPostingService
Change-Id: Id6a0fac91919f0ae68b27eddaa34a8a5f669a2ae Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
@@ -22,6 +22,12 @@
|
||||
</activity>
|
||||
<activity android:name="com.TwentyCodes.android.exception.ExceptionReportActivity" >
|
||||
</activity>
|
||||
|
||||
<service
|
||||
android:name="com.TwentyCodes.android.exception.ReportPostingService"
|
||||
android:enabled="true"
|
||||
android:process=":ExceptionReportingService" >
|
||||
</service>
|
||||
</application>
|
||||
|
||||
</manifest>
|
||||
@@ -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 <rickbarrette@gmail.com>
|
||||
# @author twenty codes <twentycodes@gmail.com>
|
||||
|
||||
|
||||
# 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.
|
||||
|
||||
@@ -37,6 +37,8 @@ public class Main extends FragmentActivity {
|
||||
Thread.setDefaultUncaughtExceptionHandler(new ExceptionHandler(this));
|
||||
setContentView(R.layout.main);
|
||||
|
||||
Integer.parseInt("poop");
|
||||
|
||||
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/testing/?get=1"));
|
||||
|
||||
Reference in New Issue
Block a user