Skip to content

Commit

Permalink
add crashlytics, remove critercism
Browse files Browse the repository at this point in the history
  • Loading branch information
triestpa committed Feb 9, 2014
1 parent df70236 commit 761377d
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
1 change: 1 addition & 0 deletions AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
android:name="android.support.PARENT_ACTIVITY"
android:value=".DishListActivity" />
</activity>
<meta-data android:name="com.crashlytics.ApiKey" android:value="45894d9e8a6bc3b8513651d6de36159e2c836e51"/>

</application>

Expand Down
Binary file added libs/crashlytics.jar
Binary file not shown.
10 changes: 10 additions & 0 deletions res/values/com_crashlytics_export_strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<resources>
<!--
This file is automatically generated by Crashlytics to uniquely
identify individual builds of your Android application.
Do NOT modify, delete, or commit to source control!
-->
<string name="com.crashlytics.android.build_id">0fd085ae-2dc2-437a-90ad-a749d7a4f868</string>
</resources>
8 changes: 4 additions & 4 deletions src/edu/grinnell/glicious/DishListActivity.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package edu.grinnell.glicious;

import com.crashlytics.android.Crashlytics;
import java.util.Calendar;
import java.util.GregorianCalendar;

Expand Down Expand Up @@ -65,8 +66,8 @@ public class DishListActivity extends SherlockFragmentActivity implements
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
/* Crittercism crash and error tracking */
Crittercism.init(getApplicationContext(), "4f8ab556b0931573b000033e");
Crashlytics.start(this);

setContentView(R.layout.activity_dish_list);
/*
* getActionBar().setDisplayOptions(ActionBar.DISPLAY_SHOW_CUSTOM |
Expand Down Expand Up @@ -96,8 +97,7 @@ public void onCreate(Bundle savedInstanceState) {
mTwoPane = true;
}


loadMenu(mPendingDate);
loadMenu(mPendingDate);

}

Expand Down

0 comments on commit 761377d

Please sign in to comment.