diff --git a/MyTracks/res/layout/help.xml b/MyTracks/res/layout/help.xml
index cece4ce98..c5a2986d5 100644
--- a/MyTracks/res/layout/help.xml
+++ b/MyTracks/res/layout/help.xml
@@ -19,7 +19,102 @@ limitations under the License.
android:layout_width="fill_parent"
android:orientation="vertical" >
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/MyTracks/res/layout/help_content.xml b/MyTracks/res/layout/help_content.xml
deleted file mode 100644
index 162fe873c..000000000
--- a/MyTracks/res/layout/help_content.xml
+++ /dev/null
@@ -1,114 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/MyTracks/res/layout/welcome.xml b/MyTracks/res/layout/welcome.xml
deleted file mode 100644
index f780f0faf..000000000
--- a/MyTracks/res/layout/welcome.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/MyTracks/res/values/keys.xml b/MyTracks/res/values/keys.xml
index ca42cc92d..62a2ab6a2 100644
--- a/MyTracks/res/values/keys.xml
+++ b/MyTracks/res/values/keys.xml
@@ -15,13 +15,15 @@ See the License for the specific language governing permissions and
limitations under the License.
-->
-
+
+
allowAccess
announcementFrequency
antCadenceSensorId
antCadenceSpeedSensorId
antHeartRateSensorId
antSRMBridgeSensorId
+ autoResumeTrackCurrentRetry
autoResumeTrackTimeout
bluetoothPairing
bluetoothSensor
@@ -34,30 +36,25 @@ limitations under the License.
minRequiredAccuracy
pickExistingMap
preferredAccount
+ recordingTrackId
reportSpeed
+ selectedTrackId
sendToDocs
sendToFusionTables
sendToMaps
sensorType
shareUrlOnly
+ showCheckUnitsDialog
+ showWelcomeDialog
splitFrequency
- trackColorModeDynamicVariation
-
- trackColorModeFixedMediumDisplay
-
+ trackColorModeDynamicVariation
+ trackColorModeFixedMediumDisplay
trackColorModeFixedMedium
- trackColorModeFixedSlowDisplay
-
+ trackColorModeFixedSlowDisplay
trackColorModeFixedSlow
trackColorMode
trackName
-
- autoResumeTrackCurrentRetry
- recordingTrackId
- selectedTrackId
-
antOptions
backupToSd
@@ -65,4 +62,4 @@ limitations under the License.
restoreFromSd
sensorOptions
trackColorModeFixedOptions
-
+
\ No newline at end of file
diff --git a/MyTracks/res/values/strings.xml b/MyTracks/res/values/strings.xml
index f008342e2..e04cce3c3 100644
--- a/MyTracks/res/values/strings.xml
+++ b/MyTracks/res/values/strings.xml
@@ -1226,17 +1226,17 @@ limitations under the License.
- Imperial
+ Imperial (mi, ft)
- Metric
+ Metric (km, m)
- Preferred units
+ Preferred Units
@@ -2924,6 +2924,14 @@ limitations under the License.
+
+ Use My Tracks while you run, bike, hike, or do anything outdoor to record your path. While
+ recording, you can visualize your track and watch live statistics. You can also add
+ markers, have markers inserted periodically, or hear automatic voice announcements of
+ your progress. For recorded tracks, you can play them on Google Earth, share with friends, or
+ upload to Google Maps, Google Fusion Tables, or Google Docs.
+
Welcome to My Tracks
diff --git a/MyTracks/res/values/styles.xml b/MyTracks/res/values/styles.xml
index 136094557..4456e3f1d 100644
--- a/MyTracks/res/values/styles.xml
+++ b/MyTracks/res/values/styles.xml
@@ -52,6 +52,15 @@ limitations under the License.
- true
- true
+
+
+
+
-
-
-
-
\ No newline at end of file
diff --git a/MyTracks/src/com/google/android/apps/mytracks/AggregatedStatsActivity.java b/MyTracks/src/com/google/android/apps/mytracks/AggregatedStatsActivity.java
index fa84e4c1f..f1377fe98 100644
--- a/MyTracks/src/com/google/android/apps/mytracks/AggregatedStatsActivity.java
+++ b/MyTracks/src/com/google/android/apps/mytracks/AggregatedStatsActivity.java
@@ -19,11 +19,10 @@ package com.google.android.apps.mytracks;
import com.google.android.apps.mytracks.content.MyTracksProviderUtils;
import com.google.android.apps.mytracks.content.Track;
import com.google.android.apps.mytracks.stats.TripStatistics;
+import com.google.android.apps.mytracks.util.PreferencesUtils;
import com.google.android.apps.mytracks.util.StatsUtils;
import com.google.android.maps.mytracks.R;
-import android.content.Context;
-import android.content.SharedPreferences;
import android.os.Bundle;
import java.util.List;
@@ -40,10 +39,8 @@ public class AggregatedStatsActivity extends AbstractMyTracksActivity {
super.onCreate(savedInstanceState);
setContentView(R.layout.aggregated_stats);
- SharedPreferences preferences = getSharedPreferences(
- Constants.SETTINGS_NAME, Context.MODE_PRIVATE);
- boolean metricUnits = preferences.getBoolean(getString(R.string.metric_units_key), true);
- boolean reportSpeed = preferences.getBoolean(getString(R.string.report_speed_key), true);
+ boolean metricUnits = PreferencesUtils.isMetricUnits(this);
+ boolean reportSpeed = PreferencesUtils.isReportSpeed(this);
StatsUtils.setStats(this,
getTripStatistics(),
diff --git a/MyTracks/src/com/google/android/apps/mytracks/MarkerDetailActivity.java b/MyTracks/src/com/google/android/apps/mytracks/MarkerDetailActivity.java
index 8a8457d72..ad870d08c 100644
--- a/MyTracks/src/com/google/android/apps/mytracks/MarkerDetailActivity.java
+++ b/MyTracks/src/com/google/android/apps/mytracks/MarkerDetailActivity.java
@@ -20,12 +20,11 @@ import com.google.android.apps.mytracks.content.MyTracksProviderUtils;
import com.google.android.apps.mytracks.content.Waypoint;
import com.google.android.apps.mytracks.fragments.DeleteOneMarkerDialogFragment;
import com.google.android.apps.mytracks.util.IntentUtils;
+import com.google.android.apps.mytracks.util.PreferencesUtils;
import com.google.android.apps.mytracks.util.StatsUtils;
import com.google.android.maps.mytracks.R;
-import android.content.Context;
import android.content.Intent;
-import android.content.SharedPreferences;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
@@ -83,11 +82,9 @@ public class MarkerDetailActivity extends AbstractMyTracksActivity {
waypointSection.setVisibility(View.GONE);
statisticsSection.setVisibility(View.VISIBLE);
- SharedPreferences preferences = getSharedPreferences(
- Constants.SETTINGS_NAME, Context.MODE_PRIVATE);
- boolean metricUnits = preferences.getBoolean(getString(R.string.metric_units_key), true);
- boolean reportSpeed = preferences.getBoolean(getString(R.string.report_speed_key), true);
-
+ boolean metricUnits = PreferencesUtils.isMetricUnits(this);
+ boolean reportSpeed = PreferencesUtils.isReportSpeed(this);
+
StatsUtils.setStats(this,
waypoint.getStatistics(),
null,
diff --git a/MyTracks/src/com/google/android/apps/mytracks/SearchListActivity.java b/MyTracks/src/com/google/android/apps/mytracks/SearchListActivity.java
index bd6b06c2f..001ae0008 100644
--- a/MyTracks/src/com/google/android/apps/mytracks/SearchListActivity.java
+++ b/MyTracks/src/com/google/android/apps/mytracks/SearchListActivity.java
@@ -105,7 +105,6 @@ public class SearchListActivity extends AbstractMyTracksActivity {
private SearchEngine searchEngine;
private SearchRecentSuggestions searchRecentSuggestions;
private LocationManager locationManager;
- private SharedPreferences sharedPreferences;
private long recordingTrackId;
private boolean metricUnits;
private ArrayAdapter