diff options
author | Bananeweizen <bananeweizen@gmx.de> | 2011-12-04 08:09:00 +0100 |
---|---|---|
committer | Bananeweizen <bananeweizen@gmx.de> | 2011-12-04 08:09:00 +0100 |
commit | e5f89f9a9a94f2c38abd249a7b000f2a4c408582 (patch) | |
tree | fc6937139fe71db2ed35d3812721fe0e56eb8e6d /main/src/cgeo/geocaching/cgeoinit.java | |
parent | 8a89f929f181289e7b62b8ae7ad27801c8fd9d31 (diff) | |
download | cgeo-e5f89f9a9a94f2c38abd249a7b000f2a4c408582.zip cgeo-e5f89f9a9a94f2c38abd249a7b000f2a4c408582.tar.gz cgeo-e5f89f9a9a94f2c38abd249a7b000f2a4c408582.tar.bz2 |
refactoring: move twitter stuff into separate package
Diffstat (limited to 'main/src/cgeo/geocaching/cgeoinit.java')
-rw-r--r-- | main/src/cgeo/geocaching/cgeoinit.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/cgeoinit.java b/main/src/cgeo/geocaching/cgeoinit.java index ec6aedf..2c2d911 100644 --- a/main/src/cgeo/geocaching/cgeoinit.java +++ b/main/src/cgeo/geocaching/cgeoinit.java @@ -6,6 +6,7 @@ import cgeo.geocaching.compatibility.Compatibility; import cgeo.geocaching.enumerations.CacheType; import cgeo.geocaching.enumerations.StatusCode; import cgeo.geocaching.maps.MapProviderFactory; +import cgeo.geocaching.twitter.TwitterAuthorizationActivity; import org.apache.commons.lang3.StringUtils; import org.apache.http.HttpResponse; @@ -264,7 +265,7 @@ public class cgeoinit extends AbstractActivity { authorizeTwitter.setOnClickListener(new View.OnClickListener() { public void onClick(View arg0) { - Intent authIntent = new Intent(cgeoinit.this, cgeoauth.class); + Intent authIntent = new Intent(cgeoinit.this, TwitterAuthorizationActivity.class); startActivity(authIntent); } }); @@ -277,7 +278,7 @@ public class cgeoinit extends AbstractActivity { public void onClick(View v) { Settings.setUseTwitter(twitterButton.isChecked()); if (Settings.isUseTwitter() && !Settings.isTwitterLoginValid()) { - Intent authIntent = new Intent(cgeoinit.this, cgeoauth.class); + Intent authIntent = new Intent(cgeoinit.this, TwitterAuthorizationActivity.class); startActivity(authIntent); } |