aboutsummaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorHerbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com>2010-09-12 22:28:11 +0200
committerHerbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com>2010-09-12 22:28:11 +0200
commit6123bc1e237936a3ad4c8bcfc48e49e004f09975 (patch)
tree13fd06ece8e9972b320fa21c6b29d802e84cf2ac /res/xml
downloadBlueGPS-6123bc1e237936a3ad4c8bcfc48e49e004f09975.zip
BlueGPS-6123bc1e237936a3ad4c8bcfc48e49e004f09975.tar.gz
BlueGPS-6123bc1e237936a3ad4c8bcfc48e49e004f09975.tar.bz2
An application for using an external bluetooth GPS on Android devices.BlueGPS4Droid_1.2.0BlueGPS4Droid_1.0
The application starts a service, then connects to a Bluetooth device (NMEA GPS) and creates a mock GPS provider which can be used to replace the internal GPS. It's also possible to log the external GPS NMEA data in a file on the device.
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/pref.xml71
1 files changed, 71 insertions, 0 deletions
diff --git a/res/xml/pref.xml b/res/xml/pref.xml
new file mode 100644
index 0000000..1752453
--- /dev/null
+++ b/res/xml/pref.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2010 Herbert von Broeuschmeul
+ Copyright (C) 2010 BluetoothGPS4Droid Project
+
+ This file is part of BluetoothGPS4Droid.
+
+ BluetoothGPS4Droid is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ BluetoothGPS4Droid is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with BluetoothGPS4Droid. If not, see : http://www.gnu.org/licenses/.
+-->
+<PreferenceScreen
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:title="@string/app_name">
+ <ListPreference
+ android:dialogTitle="@string/pref_bluetooth_device_title"
+ android:title="@string/pref_bluetooth_device_title"
+ android:key="@string/pref_bluetooth_device_key"
+ android:summary="@string/pref_bluetooth_device_summary" />
+ <CheckBoxPreference
+ android:enabled="true"
+ android:key="@string/pref_start_gps_key"
+ android:persistent="true"
+ android:title="@string/pref_start_gps_title"
+ android:summaryOn="@string/pref_start_gps_summary_on"
+ android:summaryOff="@string/pref_start_gps_summary_off" />
+ <PreferenceScreen android:title="@string/pref_recording_params_title"
+ android:enabled="false">
+ <EditTextPreference
+ android:key="@string/pref_mintime_key"
+ android:title="@string/pref_mintime_title"
+ android:defaultValue="@string/defaultTrackMinTime"
+ android:summary="@string/pref_mintime_summary"
+ android:inputType="number"/>
+ <EditTextPreference
+ android:key="@string/pref_mindistance_key"
+ android:title="@string/pref_mindistance_title"
+ android:defaultValue="@string/defaultTrackMinDistance"
+ android:inputType="numberDecimal"
+ android:summary="@string/pref_mindistance_summary" />
+ </PreferenceScreen>
+ <CheckBoxPreference
+ android:dependency="@string/pref_start_gps_key"
+ android:enabled="true"
+ android:key="@string/pref_recording_key"
+ android:persistent="true"
+ android:title="@string/pref_recording_title"
+ android:summaryOn="@string/pref_recording_summary_on"
+ android:summaryOff="@string/pref_recording_summary_off" />
+ <PreferenceScreen android:title="@string/pref_recording_params_title">
+ <EditTextPreference
+ android:key="@string/pref_trackfile_directory_key"
+ android:title="@string/pref_trackfile_directory_title"
+ android:defaultValue="@string/defaultTrackFileDirectory"
+ android:summary="@string/pref_trackfile_directory_summary" />
+ <EditTextPreference
+ android:key="@string/pref_trackfile_prefix_key"
+ android:title="@string/pref_trackfile_prefix_title"
+ android:defaultValue="@string/defaultTrackFilePrefix"
+ android:summary="@string/pref_trackfile_prefix_summary" />
+ </PreferenceScreen>
+</PreferenceScreen>