use of com.crashlytics.android.Crashlytics in project pictureapp by EyeSeeTea.
the class EyeSeeTeaApplication method onCreate.
@Override
public void onCreate() {
super.onCreate();
Log.d(TAG, "onCreate");
Fabric.with(this, new Crashlytics());
PreferencesState.getInstance().init(getApplicationContext());
FlowConfig flowConfig = new FlowConfig.Builder(this).addDatabaseHolder(EyeSeeTeaGeneratedDatabaseHolder.class).build();
FlowManager.init(flowConfig);
}
use of com.crashlytics.android.Crashlytics in project SeriesGuide by UweTrottmann.
the class SgApp method initializeLogging.
private void initializeLogging() {
if (BuildConfig.DEBUG) {
// debug drawer logging
LumberYard lumberYard = LumberYard.getInstance(this);
lumberYard.cleanUp();
Timber.plant(lumberYard.tree());
// detailed logcat logging
Timber.plant(new Timber.DebugTree());
} else {
// crash and error reporting
Timber.plant(new AnalyticsTree(this));
if (!Fabric.isInitialized()) {
Fabric.with(this, new Crashlytics());
}
}
// Ensure GA opt-out
GoogleAnalytics.getInstance(this).setAppOptOut(AppSettings.isGaAppOptOut(this));
if (BuildConfig.DEBUG) {
GoogleAnalytics.getInstance(this).setDryRun(true);
}
// Initialize tracker
Analytics.getTracker(this);
}
use of com.crashlytics.android.Crashlytics in project StarWars.Android by Yalantis.
the class App method onCreate.
@Override
public void onCreate() {
super.onCreate();
Fabric.with(this, new Crashlytics());
app = this;
Timber.plant(new Timber.DebugTree());
}
use of com.crashlytics.android.Crashlytics in project qksms by moezbhatti.
the class QKSMSApp method onCreate.
@Override
public void onCreate() {
super.onCreate();
Fabric.with(this, new Crashlytics());
}
use of com.crashlytics.android.Crashlytics in project ButterRemote-Android by se-bastiaan.
the class OverviewActivity method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Fabric.with(this, new Crashlytics());
if (!PrefUtils.contains(this, "intro")) {
Intent intent = new Intent(this, IntroActivity.class);
startActivity(intent);
finish();
}
setContentView(R.layout.activity_framelayout);
ButterKnife.bind(this);
setSupportActionBar(toolbar);
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.JELLY_BEAN_MR2) {
toolbar.setLayoutParams(new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.MATCH_PARENT, getResources().getDimensionPixelSize(R.dimen.abc_action_bar_default_height_material) + PixelUtils.getStatusBarHeight(this)));
} else {
toolbar.setLayoutParams(new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.MATCH_PARENT, getResources().getDimensionPixelSize(R.dimen.abc_action_bar_default_height_material)));
}
progressBar.setVisibility(View.GONE);
FragmentTransaction fragmentTransaction = getSupportFragmentManager().beginTransaction();
fragmentTransaction.setCustomAnimations(android.R.anim.fade_in, android.R.anim.fade_out);
fragmentTransaction.replace(R.id.frameLayout, new InstanceListFragment());
fragmentTransaction.commit();
}
Aggregations