From 0f28169faf68b19b1218bf3c6e32c52b42017909 Mon Sep 17 00:00:00 2001 From: Bananeweizen Date: Sat, 21 Feb 2015 11:43:42 +0100 Subject: new: menu item to open geo checker --- main/res/menu/cache_options.xml | 8 +++++- main/res/values/changelog_master.xml | 1 + main/res/values/strings.xml | 1 + main/src/cgeo/geocaching/CacheDetailActivity.java | 5 ++++ main/src/cgeo/geocaching/utils/CheckerUtils.java | 34 +++++++++++++++++++++++ 5 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 main/src/cgeo/geocaching/utils/CheckerUtils.java (limited to 'main') diff --git a/main/res/menu/cache_options.xml b/main/res/menu/cache_options.xml index 8b40765..1032d99 100644 --- a/main/res/menu/cache_options.xml +++ b/main/res/menu/cache_options.xml @@ -83,5 +83,11 @@ app:actionProviderClass="android.support.v7.widget.ShareActionProvider" app:showAsAction="ifRoom"> - + + + \ No newline at end of file diff --git a/main/res/values/changelog_master.xml b/main/res/values/changelog_master.xml index 51cf8f9..f861f3f 100644 --- a/main/res/values/changelog_master.xml +++ b/main/res/values/changelog_master.xml @@ -14,6 +14,7 @@ · New: Allow export of waypoints without coords to Locus\n · New: Confirmation on backup/restore\n · New: Links in personal notes can be clicked\n + · New: Menu in cache details to open geo checker\n · Fix: Improve detection pattern for event start time\n · Fix: Don\'t allow logs in the future\n · Fix: Allow shortcut creation for All caches list\n diff --git a/main/res/values/strings.xml b/main/res/values/strings.xml index 3990ff6..be8cdf3 100644 --- a/main/res/values/strings.xml +++ b/main/res/values/strings.xml @@ -731,6 +731,7 @@ Pebble Android Wear Vote + Open geo checker Status Saved Log Found diff --git a/main/src/cgeo/geocaching/CacheDetailActivity.java b/main/src/cgeo/geocaching/CacheDetailActivity.java index 93f2d31..14b6b81 100644 --- a/main/src/cgeo/geocaching/CacheDetailActivity.java +++ b/main/src/cgeo/geocaching/CacheDetailActivity.java @@ -44,6 +44,7 @@ import cgeo.geocaching.ui.OwnerActionsClickListener; import cgeo.geocaching.ui.WeakReferenceHandler; import cgeo.geocaching.ui.dialog.Dialogs; import cgeo.geocaching.ui.logs.CacheLogsViewCreator; +import cgeo.geocaching.utils.CheckerUtils; import cgeo.geocaching.utils.CryptUtils; import cgeo.geocaching.utils.Formatter; import cgeo.geocaching.utils.ImageUtils; @@ -498,6 +499,7 @@ public class CacheDetailActivity extends AbstractViewPagerActivity