diff options
Diffstat (limited to 'main/src/cgeo/geocaching/apps/cache/navi/PebbleApp.java')
| -rw-r--r-- | main/src/cgeo/geocaching/apps/cache/navi/PebbleApp.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/apps/cache/navi/PebbleApp.java b/main/src/cgeo/geocaching/apps/cache/navi/PebbleApp.java index a398fe2..ac83085 100644 --- a/main/src/cgeo/geocaching/apps/cache/navi/PebbleApp.java +++ b/main/src/cgeo/geocaching/apps/cache/navi/PebbleApp.java @@ -1,6 +1,9 @@ package cgeo.geocaching.apps.cache.navi;
import cgeo.geocaching.R;
+import cgeo.geocaching.geopoint.Geopoint;
+
+import android.content.Intent;
/**
* Application for communication with the Pebble watch.
@@ -15,4 +18,9 @@ class PebbleApp extends AbstractRadarApp { super(getString(R.string.cache_menu_pebble), R.id.cache_app_pebble, INTENT, PACKAGE_NAME);
}
+ @Override
+ protected void addCoordinates(final Intent intent, final Geopoint coords) {
+ intent.putExtra("latitude", coords.getLatitude());
+ intent.putExtra("longitude", coords.getLongitude());
+ }
}
\ No newline at end of file |
