aboutsummaryrefslogtreecommitdiffstats
path: root/main/src
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2013-09-14 09:42:52 +0200
committerSamuel Tardieu <sam@rfc1149.net>2013-09-14 09:45:01 +0200
commit3bfd4f87361086e67b5809972f314e1c7f669fc4 (patch)
treeacc2794bd91077612a5157d6330fea0d383591fc /main/src
parentfe67dd412b14704720b9f1e0fe8e636278901f24 (diff)
downloadcgeo-3bfd4f87361086e67b5809972f314e1c7f669fc4.zip
cgeo-3bfd4f87361086e67b5809972f314e1c7f669fc4.tar.gz
cgeo-3bfd4f87361086e67b5809972f314e1c7f669fc4.tar.bz2
Enable in-band registration for opencaching.pl
Diffstat (limited to 'main/src')
-rw-r--r--main/src/cgeo/geocaching/connector/oc/OCAuthorizationActivity.java59
-rw-r--r--main/src/cgeo/geocaching/connector/oc/OCPLAuthParams.java2
2 files changed, 1 insertions, 60 deletions
diff --git a/main/src/cgeo/geocaching/connector/oc/OCAuthorizationActivity.java b/main/src/cgeo/geocaching/connector/oc/OCAuthorizationActivity.java
index bae5c1b..1584b47 100644
--- a/main/src/cgeo/geocaching/connector/oc/OCAuthorizationActivity.java
+++ b/main/src/cgeo/geocaching/connector/oc/OCAuthorizationActivity.java
@@ -48,67 +48,8 @@ public class OCAuthorizationActivity extends OAuthAuthorizationActivity {
}
@Override
- protected String getAuthAgain() {
- return res.getString(R.string.auth_again_oc);
- }
-
- @Override
- protected String getErrAuthInitialize() {
- return res.getString(R.string.err_auth_initialize);
- }
-
- @Override
- protected String getAuthStart() {
- return res.getString(R.string.auth_start_oc);
- }
-
- @Override
protected String getAuthDialogCompleted() {
return res.getString(R.string.auth_dialog_completed_oc, getAuthTitle());
}
- @Override
- protected String getErrAuthProcess() {
- return res.getString(R.string.err_auth_process);
- }
-
- @Override
- protected String getAuthDialogWait() {
- return res.getString(R.string.auth_dialog_wait_oc, getAuthTitle());
- }
-
- @Override
- protected String getAuthDialogPinTitle() {
- return res.getString(R.string.auth_dialog_pin_title_oc);
- }
-
- @Override
- protected String getAuthDialogPinMessage() {
- return res.getString(R.string.auth_dialog_pin_message_oc, getAuthTitle());
- }
-
- @Override
- protected String getAboutAuth1() {
- return res.getString(R.string.about_auth_1_oc, getAuthTitle());
- }
-
- @Override
- protected String getAboutAuth2() {
- return res.getString(R.string.about_auth_2_oc, getAuthTitle(), getAuthTitle());
- }
-
- @Override
- protected String getAuthAuthorize() {
- return res.getString(R.string.auth_authorize_oc);
- }
-
- @Override
- protected String getAuthPinHint() {
- return res.getString(R.string.auth_pin_hint_oc, getAuthTitle());
- }
-
- @Override
- protected String getAuthFinish() {
- return res.getString(R.string.auth_finish_oc);
- }
}
diff --git a/main/src/cgeo/geocaching/connector/oc/OCPLAuthParams.java b/main/src/cgeo/geocaching/connector/oc/OCPLAuthParams.java
index c1e0ea3..0c9e6f7 100644
--- a/main/src/cgeo/geocaching/connector/oc/OCPLAuthParams.java
+++ b/main/src/cgeo/geocaching/connector/oc/OCPLAuthParams.java
@@ -46,6 +46,6 @@ public class OCPLAuthParams implements IOCAuthParams {
@Override
public String getCallbackUri() {
- return null;
+ return "callback://www.cgeo.org/opencaching.pl/";
}
}