323 Commits

Author SHA1 Message Date
Kevin Gaudin
c62053b01e Since the report sending task is now done on a separate thread, we have to wait for this thread to end before killing the process. 2010-11-17 05:57:21 +00:00
Kevin Gaudin
661a29021f javadoc update 2010-11-16 01:16:37 +00:00
Kevin Gaudin
4f7d17809f Add a silent report button to the sample app. 2010-11-16 01:15:20 +00:00
Kevin Gaudin
ebbdd685e9 Cleanup public API 2010-11-16 01:14:46 +00:00
Kevin Gaudin
c43132c95c - Added a report field for the user crash date (the google doc timestamp is the report reception time, but the transmission might have been delayed from the real crash time) 2010-11-16 00:22:13 +00:00
Kevin Gaudin
db2ef9dc2b Fixed the initial/crash configuration inspection was done on the same instance at the crash instant... so there were no differences between the two fields content in the report. 2010-11-16 00:19:39 +00:00
Kevin Gaudin
d956efc4e0 Log only the 2 first lines of the response. 2010-11-15 23:59:26 +00:00
Kevin Gaudin
0aca1c4ba0 - Added a report field for the user crash date (the google doc timestamp is the report reception time, but the transmission might have been delayed from the real crash time)
- Fixed issue #10 : when a crash occurs, the report was sent on the UI Thread. This could lead to application hanging if network conditions were bad.
2010-11-15 23:51:57 +00:00
Kevin Gaudin
2c3b45a6c4 Replaced formId with formKey to be consistent with Google's naming 2010-11-15 23:35:53 +00:00
Kevin Gaudin
4ef7fc1b21 - Addition of 4 fields in reports:
* initial_config: the Configuration on application start
  * crash_config: the Configuration when the application crashed
  * display: display specs
  * user_comment: user comment has now it's own field and is not added in the dev custom data anymore
- Renamed 1 field: display to build_display
2010-11-15 01:00:00 +00:00
Kevin Gaudin
37c5179d78 Addition of a class capable of describing a Configuration instance into a human readable String. 2010-11-15 00:08:27 +00:00
Kevin Gaudin
ed379b56db javadoc update 2010-11-13 23:38:41 +00:00
Kevin Gaudin
af803d9adc -Javadoc update
-Override the SharedPreferences used to store acra.enable or acra.disable within the ReportsCrashes annotation
2010-11-12 22:40:03 +00:00
Kevin Gaudin
4d4e715ddd Wipe javadoc before recreating it. 2010-11-12 00:11:50 +00:00
Kevin Gaudin
8175d38c97 Add default value for status bar notification icon. 2010-11-10 07:12:33 +00:00
Kevin Gaudin
283585931f javadoc update 2010-11-10 00:40:40 +00:00
Kevin Gaudin
26702e98ed Do not use the value() default parameter of the annotaton but force to specify formId as the only mandatory parameter instead. 2010-11-10 00:37:45 +00:00
Kevin Gaudin
742f093b05 Configuration checks for Notification mode resources. 2010-11-10 00:22:17 +00:00
Kevin Gaudin
6ecc536679 - Getting rid of the CrashReportingApplication inheritance requirement in order to be able to use ACRA with other Android libraries/frameworks like GreenDroid, RoboGuice, Droid-Fu, etc.
- Fixed the preferences listener which did not check the new possible acra.enable preference.
2010-11-10 00:12:10 +00:00
Kevin Gaudin
e9703be7b6 Always send a report file name to the CrashReportDialog 2010-08-21 16:08:36 +00:00
Kevin Gaudin
0d177b4489 Using an intermediate launcher activity to test crashes on a sub-activity. 2010-08-21 16:07:54 +00:00
Kevin Gaudin
82d74ea949 - Issue 4: Provide a way to override the preferences name for storing 'acra.disable'
* new method CrashReportingApplication.getACRASharedPreferences() to be overridden
  * alternative setting 'acra.enable' to allow developers make their users check the setting to enable instead of disable crash reports.
- Issue 6: Relaunching crashed app from home key recent app shortcut displays crash report dialog again
  * Setting android:excludeFromRecents and android:finishOnTaskLaunch to true in the CrashReportDialog activity declaration in the manifest should solve the issue 
- Issue 7: Silent notification not sent silently if pending
  * Added a prefix for silent reports stored in files to help detect silent notifications on application restart. This should now avoid throwing notifications when working on pending silent reports.
2010-08-21 15:33:32 +00:00
Kevin Gaudin
b17941490f Publishing v2.0.3 as stable release 2010-05-28 22:25:37 +00:00
Kevin Gaudin
31452629e8 Publishing a new test version 2010-05-25 05:09:44 +00:00
Kevin Gaudin
696ee8166a Javadoc update 2010-05-24 23:19:06 +00:00
Kevin Gaudin
8b5f3db117 Making ReportingInteractionMode public was not a good idea as handling Exception with any other mode than SILENT would require additional resource ids.
Offering a handleSilentException should be enough to fulfill developers requirements.
2010-05-24 23:17:58 +00:00
Kevin Gaudin
c9b914901f Javadoc update 2010-05-24 23:09:06 +00:00
Kevin Gaudin
b063814401 Make ReportingInteractionMode public 2010-05-24 23:07:49 +00:00
Kevin Gaudin
d5a4def7bb Javadoc update 2010-05-24 13:51:15 +00:00
Kevin Gaudin
596437cb2e Publishing a new test version 2010-05-24 13:35:51 +00:00
Kevin Gaudin
3ca9e22469 Fixed issue #2 : NPE if versionName is not set in the AndroidManifest.xml 2010-05-24 13:35:24 +00:00
Kevin Gaudin
a77dcba6f3 Publishing a new test version 2010-05-24 13:12:53 +00:00
Kevin Gaudin
355edad157 Get application package name from Context.getPackageName() instead of PackageInfo. Safer 2010-05-24 12:51:56 +00:00
Kevin Gaudin
e7e8268dc1 Give ErrorReporter a reference to the application Context instead of Application object. This might be safer. 2010-05-24 12:51:01 +00:00
Kevin Gaudin
3887148810 Test a case where application info could not be retrieved. 2010-05-24 12:40:56 +00:00
Kevin Gaudin
f951d19e88 Allow to override the reporting interaction mode when using a direct call to ErrorReporter.handleException(). 2010-05-21 23:02:15 +00:00
Kevin Gaudin
49841a5499 javadoc update 2010-05-17 05:34:55 +00:00
Kevin Gaudin
22a4198c00 Preparing 2.0.0-test release 2010-05-17 05:33:33 +00:00
Kevin Gaudin
1a9a999f93 Preparing 2.0.0-test release 2010-05-17 05:32:52 +00:00
Kevin Gaudin
a15a865db8 Better association between user comment and report file. 2010-05-17 05:03:05 +00:00
Kevin Gaudin
78bc7ddc9e javadoc 2010-05-17 00:21:59 +00:00
Kevin Gaudin
b687fd3f4e delete javadoc 2010-05-17 00:21:22 +00:00
Kevin Gaudin
c96a4d4829 javadoc 2010-05-17 00:13:03 +00:00
Kevin Gaudin
7f5539f903 delete javadoc 2010-05-17 00:08:45 +00:00
Kevin Gaudin
1a669b717b javadoc 2010-05-17 00:07:16 +00:00
Kevin Gaudin
edec134fe1 2010-05-17 00:01:02 +00:00
Kevin Gaudin
101ae41c32 Code cleaning 2010-05-16 23:23:38 +00:00
Kevin Gaudin
7ab5d0d7fb Code cleaning 2010-05-16 22:28:11 +00:00
Kevin Gaudin
258b2e7927 Crash dialog OK toast 2010-05-16 14:09:17 +00:00
Kevin Gaudin
263cb9fa08 Disable/enable ACRA with default SharedPreference "acra.disable". 2010-05-16 13:39:27 +00:00