Add a Share data settings

This commit is contained in:
Jimmy Shih
2011-10-04 18:35:37 -07:00
parent 90470342e7
commit 969a677d7d
3 changed files with 14 additions and 0 deletions
+1
View File
@@ -38,6 +38,7 @@ limitations under the License.
<string name="send_to_my_maps_key">sendToMyMaps</string>
<string name="send_to_fusion_tables_key">sendToFusionTables</string>
<string name="sensor_type_key">sensorType</string>
<string name="share_data_key">shareData</string>
<string name="share_url_only_key">shareUrlOnly</string>
<string name="split_frequency_key">splitFrequency</string>
<string name="timestamp_track_name_key">timestampTrackName</string>
+6
View File
@@ -235,6 +235,12 @@ limitations under the License.
<string name="settings_report_speed_or_pace_summary_on">Speed will be displayed</string>
<string name="settings_report_speed_or_pace_summary_off">Pace will be displayed</string>
<string name="settings_share_data">Share data</string>
<string name="settings_share_data_summary_on">Other installed apps will be able to read and write
MyTracks data, including starting/stopping a recording.</string>
<string name="settings_share_data_summary_off">MyTracks data is not shared with any installed app.
</string>
<string name="settings_share_url_only">Share only URL</string>
<string name="settings_share_url_only_summary_on">Only the URL of the map will be sent when sharing</string>
<string name="settings_share_url_only_summary_off">The contents of the track will also be included when sharing</string>
+7
View File
@@ -209,6 +209,13 @@ limitations under the License.
android:summaryOn="@string/settings_share_url_only_summary_on"
android:summaryOff="@string/settings_share_url_only_summary_off"
android:defaultValue="false" />
<CheckBoxPreference
android:key="@string/share_data_key"
android:title="@string/settings_share_data"
android:summaryOn="@string/settings_share_data_summary_on"
android:summaryOff="@string/settings_share_data_summary_off"
android:defaultValue="false" />
</PreferenceScreen>
<!-- Backup settings -->