net.hockeyapp.android.CrashManager Java Examples

The following examples show how to use net.hockeyapp.android.CrashManager. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CrashTracker.java    From BaseAndroidApp with Apache License 2.0 5 votes vote down vote up
public void init() {
   CrashManager.register(application, application.getString(R.string.hockey_app_id),
         new CrashManagerListener() {

            @Override
            public boolean shouldAutoUploadCrashes() {
               return true;
            }
         });
   application.registerActivityLifecycleCallbacks(this);
}
 
Example #2
Source File: MainActivity.java    From Android-Tech with Apache License 2.0 4 votes vote down vote up
private void checkForCrashes() {
    CrashManager.register(this);
}
 
Example #3
Source File: MainActivity.java    From moviedb-android with Apache License 2.0 4 votes vote down vote up
/**
 * This method is used by the hockey library to check for crashes.
 */
private void checkForCrashes() {
    CrashManager.register(this, MovieDB.appId);
}
 
Example #4
Source File: MainActivity.java    From spidey with GNU General Public License v3.0 4 votes vote down vote up
/**HockeyAPp**/
private void checkForCrashes() {
  CrashManager.register(this, "86494125c282a86b3f7f30ac76bd3129");
}
 
Example #5
Source File: WizardActivity.java    From CameraV with GNU General Public License v3.0 4 votes vote down vote up
private void checkForCrashes()
{
	CrashManager.register(this, InformaActivity.HOCKEY_APP_ID);
}
 
Example #6
Source File: LoginActivity.java    From CameraV with GNU General Public License v3.0 4 votes vote down vote up
private void checkForCrashes()
{
	CrashManager.register(this, InformaActivity.HOCKEY_APP_ID);
}
 
Example #7
Source File: MainActivity.java    From breakapp with MIT License 4 votes vote down vote up
public void onResume() {
  super.onResume();
  CrashManager.register(this, HOCKEYAPP_ID);
}