Back to project page ZeoSleepMonitor.
The source code is released under:
MIT License
If you think the Android project ZeoSleepMonitor listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/** * //www .j a va 2 s . com */ package com.stephenklancher.zeosleepmonitor; import android.app.Application; import org.acra.*; import org.acra.annotation.*; /** * @author Stephen Klancher * */ @ReportsCrashes(formKey = "dHhjQ3Zad09NbDdIbjhLYTRpVzNmV2c6MQ", mode = ReportingInteractionMode.TOAST, forceCloseDialogAfterToast = false, // optional, default false resToastText = R.string.crash_toast_text) public class ZeoSleepMonitor extends Application { @Override public void onCreate() { // The following line triggers the initialization of ACRA ACRA.init(this); super.onCreate(); } }