diff options
author | Bananeweizen <Bananeweizen@gmx.de> | 2012-04-12 21:14:28 +0200 |
---|---|---|
committer | Bananeweizen <Bananeweizen@gmx.de> | 2012-04-12 21:14:28 +0200 |
commit | f415daeb4a099b0cda567d4e0878654536006bc7 (patch) | |
tree | 1c6a89e6d583f96f4ee31a7a2f463deeb872788a /main/src/cgeo/geocaching/cgeoinit.java | |
parent | b2f4fa6db9e262d087d715c497b1241833a0599d (diff) | |
download | cgeo-f415daeb4a099b0cda567d4e0878654536006bc7.zip cgeo-f415daeb4a099b0cda567d4e0878654536006bc7.tar.gz cgeo-f415daeb4a099b0cda567d4e0878654536006bc7.tar.bz2 |
refactorings: preparations to make #1303 easier
Diffstat (limited to 'main/src/cgeo/geocaching/cgeoinit.java')
-rw-r--r-- | main/src/cgeo/geocaching/cgeoinit.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/cgeoinit.java b/main/src/cgeo/geocaching/cgeoinit.java index c4c16d5..c1771eb 100644 --- a/main/src/cgeo/geocaching/cgeoinit.java +++ b/main/src/cgeo/geocaching/cgeoinit.java @@ -20,6 +20,7 @@ import org.apache.commons.lang3.tuple.ImmutablePair; import org.apache.http.HttpResponse; import android.app.ProgressDialog; +import android.content.Context; import android.content.Intent; import android.content.res.Configuration; import android.graphics.drawable.Drawable; @@ -897,4 +898,10 @@ public class cgeoinit extends AbstractActivity { initMapfileEdittext(true); } } + + public static void startActivity(Context fromActivity) { + final Intent initIntent = new Intent(fromActivity, cgeoinit.class); + fromActivity.startActivity(initIntent); + } + } |