From f2c04eec1afd48d4424121318b67ab6aafd796bf Mon Sep 17 00:00:00 2001 From: Dennis Guse Date: Wed, 20 Nov 2019 07:27:56 +0100 Subject: [PATCH] Add help activity. Can be accessed from Settings. --- .idea/render.experimental.xml | 6 + src/main/AndroidManifest.xml | 8 +- .../dennisguse/opentracks/HelpActivity.java | 9 + src/main/res/layout/help.xml | 188 ++++++++++++++++++ src/main/res/values/strings.xml | 89 +++++++++ src/main/res/xml/settings.xml | 6 + 6 files changed, 304 insertions(+), 2 deletions(-) create mode 100644 .idea/render.experimental.xml create mode 100644 src/main/java/de/dennisguse/opentracks/HelpActivity.java create mode 100644 src/main/res/layout/help.xml diff --git a/.idea/render.experimental.xml b/.idea/render.experimental.xml new file mode 100644 index 000000000..8ec256a5d --- /dev/null +++ b/.idea/render.experimental.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/src/main/AndroidManifest.xml b/src/main/AndroidManifest.xml index 818de79db..4587783ef 100644 --- a/src/main/AndroidManifest.xml +++ b/src/main/AndroidManifest.xml @@ -32,6 +32,10 @@ limitations under the License. + + @@ -50,10 +54,10 @@ limitations under the License. - - + + diff --git a/src/main/java/de/dennisguse/opentracks/HelpActivity.java b/src/main/java/de/dennisguse/opentracks/HelpActivity.java new file mode 100644 index 000000000..034c101c0 --- /dev/null +++ b/src/main/java/de/dennisguse/opentracks/HelpActivity.java @@ -0,0 +1,9 @@ +package de.dennisguse.opentracks; + +public class HelpActivity extends AbstractActivity { + + @Override + protected int getLayoutResId() { + return R.layout.help; + } +} diff --git a/src/main/res/layout/help.xml b/src/main/res/layout/help.xml new file mode 100644 index 000000000..40ecfc9ee --- /dev/null +++ b/src/main/res/layout/help.xml @@ -0,0 +1,188 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 2e26ef035..e28271e30 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -38,6 +38,95 @@ limitations under the License. Libraries + + + OpenTracks has the following features: + + +* Create markers (incl. pictures)\n +* Heart rate sensor (Bluetooth LE)\n +* Voice announcements by time or distance\n +* While recording, show on lock screen\n +* Share tracks + + + + Can the statistics view be customized? + + + Yes, it can be customized in the Settings. + + + + How does OpenTracks record data? + + + OpenTracks uses the GPS sensor of the device to record the location continuously. + + + + Statistics (e.g., speed) reported by OpenTracks are imprecise? + + + OpenTracks directly uses the data provided by the GPS of the mobile device. + If the GPS device reports inaccurate locations, OpenTracks cannot do anything about it. + + + + Which heart rate sensors does OpenTracks support? + + + OpenTracks should work with any Bluetooth LE heart sensor that support streaming the data in real-time. + Smartwatches that store the heart rate data are not supported. + + + + How to show a track on a map? + + + This requires a 3rd party application to be installed that can consume KMZ-encoded geo data. + This works well with OsmAnd~ and Maps.ME. + In fact, an App needs to support ACTION_VIEW with MIME application/vnd.google-earth.kmz. + At the moment, the recorded locations as well as the timestamps are send to an App while pictures and sensor data are not shared. + + + + How does OpenTracks store pictures that were taken as markers? + + + These are stored directly on the file system. + + + + How can I export/share recorded tracks? + + + Tracks can be exported from the Settings as KMZ, KML, or GPX. + KMZ contains all data incl. images, while KML contains only the sensor data, and GPX only the location. + Tracks shared via the share icon are shared as KMZ and any App can be used to send the data. + + + + Can OpenTracks upload the data automatically? + + + + Does OpenTracks require/use Google Play Service? + + + + Does OpenTracks use online services? + + + + How does OpenTracks store sensor data? + + + OpenTracks stores sensor data per recorded location. + In terms of a heart rate sensor this means that only one heart rate measurement is stored per location. + If you are standing still or are indoors, no sensor data will be recorded (but it will be shown). + + diff --git a/src/main/res/xml/settings.xml b/src/main/res/xml/settings.xml index 332f9dd38..3d9d84c1a 100644 --- a/src/main/res/xml/settings.xml +++ b/src/main/res/xml/settings.xml @@ -17,6 +17,12 @@ limitations under the License. xmlns:app="http://schemas.android.com/apk/res-auto" android:title="@string/menu_settings"> + + + +