removed Hockey dependency; removed Volley from pom.xml; added org.json.simple dependency

This commit is contained in:
Axel Uhl committed 2015-03-25 21:01:19 +01:00
1 parent 84353a8462
commit a3403881a1
3 files changed
+6 -25

No files matched your search

@@ -11,5 +11,6 @@
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/com.sap.sailing.server.gateway.serialization.shared.android"/>
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/com.sap.sse.shared.android"/>
<classpathentry kind="lib" path="/google-play-services_lib/libs/google-play-services.jar"/>
<classpathentry combineaccessrules="false" exported="true" kind="src" path="/org.json.simple"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
+3 -12
View File
@@ -56,20 +56,11 @@
<dependency>
<groupId>com.sap.sailing</groupId>
<artifactId>com.google.volley</artifactId>
<version>1.0.0-SNAPSHOT</version>
<type>apklib</type>
<artifactId>org.json.simple</artifactId>
<version>1.1.0-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
<!--
<dependency>
<groupId>com.android.support</groupId>
<artifactId>support-annotations</artifactId>
<version>21.0.3</version>
<type>aar</type>
</dependency>
-->
<dependency>
<groupId>com.android.support</groupId>
<artifactId>support-v4</artifactId>
@@ -1,6 +1,5 @@
package com.sap.sailing.android.shared.ui.activities;
import net.hockeyapp.android.CrashManager;
import android.app.Dialog;
import android.content.Intent;
import android.net.Uri;
@@ -55,8 +54,7 @@ public abstract class AbstractStartActivity extends CheckinDataActivity{
@Override
public void onCheckinDataAvailable(AbstractCheckinData data) {
if(data != null)
{
if (data != null) {
getHomeFragment().displayUserConfirmationScreen(data);
}
}
@@ -66,21 +64,12 @@ public abstract class AbstractStartActivity extends CheckinDataActivity{
@Override
protected void onResume() {
super.onResume();
checkForCrashes();
// checkForUpdates();
int googleServicesResultCode = GooglePlayServicesUtil.isGooglePlayServicesAvailable(this);
if (googleServicesResultCode != ConnectionResult.SUCCESS)
{
if (googleServicesResultCode != ConnectionResult.SUCCESS) {
Dialog dialog = GooglePlayServicesUtil.getErrorDialog(googleServicesResultCode, this, 0);
dialog.show();
}
}
/**
* Hockeyapp integration method.
*/
private void checkForCrashes() {
CrashManager.register(this, "060ff0c8a907638e3b31d3146091c87b");
}
}