net.hockeyapp.android.UpdateManager Java Examples
The following examples show how to use
net.hockeyapp.android.UpdateManager.
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: AndroidUtilities.java From TelePlus-Android with GNU General Public License v2.0 | 5 votes |
public static void unregisterUpdates() { if (BuildVars.DEBUG_VERSION) { UpdateManager.unregister(); } }
Example #2
Source File: AndroidUtilities.java From TelePlus-Android with GNU General Public License v2.0 | 5 votes |
public static void unregisterUpdates() { if (BuildVars.DEBUG_VERSION) { UpdateManager.unregister(); } }
Example #3
Source File: CrashTracker.java From BaseAndroidApp with Apache License 2.0 | 5 votes |
@Override public void onActivityResumed(final Activity activity) { final boolean shouldShowUpdates = BuildConfig.DEBUG && !BuildConfig.IS_IDE_BUILD; final boolean isUpdateActivity = !activity.getClass().equals(UpdateActivity.class); if (shouldShowUpdates && isUpdateActivity) { UpdateManager.register(activity, application.getString(R.string.hockey_app_id)); } Tracking.startUsage(activity); }
Example #4
Source File: MainActivity.java From Android-Tech with Apache License 2.0 | 4 votes |
private void checkForUpdates() { // Remove this for store builds! UpdateManager.register(this); }
Example #5
Source File: MainActivity.java From Android-Tech with Apache License 2.0 | 4 votes |
private void unregisterManagers() { UpdateManager.unregister(); }
Example #6
Source File: MainActivity.java From moviedb-android with Apache License 2.0 | 4 votes |
/** * This method is fired when the activity is paused. * For example if we minimize our app. */ @Override protected void onPause() { super.onPause(); UpdateManager.unregister(); }
Example #7
Source File: MainActivity.java From moviedb-android with Apache License 2.0 | 4 votes |
/** * This method is used by the hockey library to check for updates. */ private void checkForUpdates() { // Remove this for store / production builds! UpdateManager.register(this, MovieDB.appId); }
Example #8
Source File: MainActivity.java From spidey with GNU General Public License v3.0 | 4 votes |
private void checkForUpdates() { // Remove this for store builds! UpdateManager.register(this, "86494125c282a86b3f7f30ac76bd3129"); }
Example #9
Source File: MainActivity.java From breakapp with MIT License | 4 votes |
public void onCheckUpdatesClicked(View v) { UpdateManager.register(this, HOCKEYAPP_ID); }