aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/values-fr/strings.xml37
-rw-r--r--res/values/constants.xml44
-rw-r--r--res/values/strings.xml37
-rw-r--r--res/xml/pref.xml91
4 files changed, 208 insertions, 1 deletions
diff --git a/res/values-fr/strings.xml b/res/values-fr/strings.xml
index b00db70..9b8ab51 100644
--- a/res/values-fr/strings.xml
+++ b/res/values-fr/strings.xml
@@ -24,6 +24,7 @@
<string name="pref_start_gps_title">Start/Stop GPS</string>
<string name="pref_start_gps_summary_off">Le GPS Bluetooth est arrêté</string>
<string name="pref_start_gps_summary_on">Le GPS Bluetooth est démarré</string>
+ <string name="pref_start_gps_params_title">Options du GPS (SiRF)</string>
<string name="pref_gps_location_provider_title">Location provider options</string>
<string name="pref_gps_location_provider_summary">Le GPS Bluetooth remplacera le GPS interne</string>
<string name="pref_replace_std_gps_title">Remplacer le GPS interne</string>
@@ -46,6 +47,42 @@
<string name="pref_about_title">À propos</string>
<string name="pref_about_summary"></string>
+ <string name="pref_sirf_gps_title">GPS SiRF</string>
+ <string name="pref_sirf_gps_summary_off">"Ne pas utiliser les paramètres SiRF"</string>
+ <string name="pref_sirf_gps_summary_on">"Utiliser les paramètres SiRF"</string>
+ <string name="pref_sirf_nmea_category_title">Choix des trames NMEA</string>
+ <string name="pref_sirf_gps_category_title">Fonctionnement du GPS</string>
+ <string name="pref_enable_gga_title">Activation NMEA GGA</string>
+ <string name="pref_enable_gga_summary_off">NMEA GGA désactivé</string>
+ <string name="pref_enable_gga_summary_on">NMEA GGA activé</string>
+ <string name="pref_enable_rmc_title">Activation NMEA RMC</string>
+ <string name="pref_enable_rmc_summary_off">NMEA RMC désactivé</string>
+ <string name="pref_enable_rmc_summary_on">NMEA RMC activé</string>
+ <string name="pref_enable_gll_title">Activation NMEA GLL</string>
+ <string name="pref_enable_gll_summary_off">NMEA GLL désactivé</string>
+ <string name="pref_enable_gll_summary_on">NMEA GLL activé</string>
+ <string name="pref_enable_vtg_title">Activation NMEA VTG</string>
+ <string name="pref_enable_vtg_summary_off">NMEA VTG désactivé</string>
+ <string name="pref_enable_vtg_summary_on">NMEA VTG activé</string>
+ <string name="pref_enable_gsa_title">Activation NMEA GSA</string>
+ <string name="pref_enable_gsa_summary_off">NMEA GSA désactivé</string>
+ <string name="pref_enable_gsa_summary_on">NMEA GSA activé</string>
+ <string name="pref_enable_gsv_title">Activation NMEA GSV</string>
+ <string name="pref_enable_gsv_summary_off">NMEA GSV désactivé</string>
+ <string name="pref_enable_gsv_summary_on">NMEA GSV activé</string>
+ <string name="pref_enable_zda_title">Activation NMEA ZDA</string>
+ <string name="pref_enable_zda_summary_off">NMEA ZDA désactivé</string>
+ <string name="pref_enable_zda_summary_on">NMEA ZDA activé</string>
+ <string name="pref_enable_sbas_title">SBAS (WAAS/EGNOS)</string>
+ <string name="pref_enable_sbas_summary_off">SBAS désactivé</string>
+ <string name="pref_enable_sbas_summary_on">SBAS activé</string>
+ <string name="pref_enable_nmea_title">Mode NMEA/SiRF</string>
+ <string name="pref_enable_nmea_summary_off">Mode SiRF binaire activé</string>
+ <string name="pref_enable_nmea_summary_on">Mode NMEA activé</string>
+ <string name="pref_enable_static_navigation_title">Navigation Statique</string>
+ <string name="pref_enable_static_navigation_summary_off">Navigation Statique désactivée</string>
+ <string name="pref_enable_static_navigation_summary_on">Navigation Statique activée</string>
+
<string name="msg_gps_provider_started">GPS Bluetooth... démarré</string>
<string name="msg_gps_provider_stopped">GPS Bluetooth... arrêté</string>
<string name="msg_gps_provider_already_started">GPS Bluetooth... déjà démarré</string>
diff --git a/res/values/constants.xml b/res/values/constants.xml
index 6ac5ca9..992fb83 100644
--- a/res/values/constants.xml
+++ b/res/values/constants.xml
@@ -19,7 +19,7 @@
along with BluetoothGPS4Droid. If not, see : http://www.gnu.org/licenses/.
-->
<resources>
- <string name="versionName">1.1.2</string>
+ <string name="versionName">1.2.0</string>
<string name="pref_start_gps_key">startGps</string>
<string name="pref_gps_location_provider_key">gpsLocationProviderKey</string>
@@ -32,8 +32,50 @@
<string name="pref_bluetooth_device_key">bluetoothDevice</string>
<string name="pref_about_key">about</string>
+ <string name="pref_sirf_gps_key">sirfGps</string>
+ <string name="pref_sirf_enable_gga_key">enableGGA</string>
+ <string name="pref_sirf_enable_rmc_key">enableRMC</string>
+ <string name="pref_sirf_enable_gll_key">enableGLL</string>
+ <string name="pref_sirf_enable_vtg_key">enableVTG</string>
+ <string name="pref_sirf_enable_gsa_key">enableGSA</string>
+ <string name="pref_sirf_enable_gsv_key">enableGSV</string>
+ <string name="pref_sirf_enable_zda_key">enableZDA</string>
+ <string name="pref_sirf_enable_sbas_key">enableSBAS</string>
+ <string name="pref_sirf_enable_nmea_key">enableNMEA</string>
+ <string name="pref_sirf_enable_static_navigation_key">enableStaticNavigation</string>
+
<string name="defaultConnectionRetries">0</string>
<string name="defaultTrackFileDirectory">/sdcard/nmea</string>
<string name="defaultTrackFilePrefix">btnmeatrack</string>
<string name="defaultMockGpsName">bluetooth_gps</string>
+
+
+ <string name="sirf_nmea_gga_on">PSRF103,00,00,01,01</string>
+ <string name="sirf_nmea_gga_off">PSRF103,00,00,00,01</string>
+ <string name="sirf_nmea_rmc_on">PSRF103,04,00,01,01</string>
+ <string name="sirf_nmea_rmc_off">PSRF103,04,00,00,01</string>
+ <string name="sirf_nmea_gll_on">PSRF103,01,00,01,01</string>
+ <string name="sirf_nmea_gll_off">PSRF103,01,00,00,01</string>
+ <string name="sirf_nmea_gsa_on">PSRF103,02,00,05,01</string>
+ <string name="sirf_nmea_gsa_off">PSRF103,02,00,00,01</string>
+ <string name="sirf_nmea_gsv_on">PSRF103,03,00,05,01</string>
+ <string name="sirf_nmea_gsv_off">PSRF103,03,00,00,01</string>
+ <string name="sirf_nmea_vtg_on">PSRF103,05,00,01,01</string>
+ <string name="sirf_nmea_vtg_off">PSRF103,05,00,00,01</string>
+ <string name="sirf_nmea_zda_on">PSRF103,08,00,01,01</string>
+ <string name="sirf_nmea_zda_off">PSRF103,08,00,00,01</string>
+
+ <string name="sirf_nmea_to_binary">PSRF100,0,38400,8,1,0</string>
+
+ <string name="sirf_nmea_sbas_on">PSRF151,01</string>
+ <string name="sirf_nmea_sbas_off">PSRF151,00</string>
+
+ <string name="sirf_bin_static_nav_on">8F01</string>
+ <string name="sirf_bin_static_nav_off">8F00</string>
+ <string name="sirf_bin_to_nmea">8702</string>
+ <string name="sirf_bin_to_nmea_38400">810201010001050105010001000100010001000100019600</string>
+ <string name="sirf_bin_to_nmea_38400_alt">8102%02X01%02X01%02X01%02X01%02X01%02X01%02X01%02X01%02X0100019600</string>
+ <string name="sirf_bin_dgps_ext_on">85020000000000</string>
+ <string name="sirf_bin_dgps_sbas_on">85010000000000</string>
+ <string name="sirf_software_version">8400</string>
</resources>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 62902d3..b9c4335 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -24,6 +24,7 @@
<string name="pref_start_gps_title">Start/Stop GPS</string>
<string name="pref_start_gps_summary_off">Bluetooth GPS is off</string>
<string name="pref_start_gps_summary_on">Bluetooth GPS is on</string>
+ <string name="pref_start_gps_params_title">GPS Options (SiRF)</string>
<string name="pref_gps_location_provider_title">Location provider options</string>
<string name="pref_gps_location_provider_summary">Bluetooth GPS will replace internal GPS</string>
<string name="pref_replace_std_gps_title">Replace internal GPS</string>
@@ -49,6 +50,42 @@
<string name="pref_about_title">About</string>
<string name="pref_about_summary"></string>
+ <string name="pref_sirf_gps_title">SiRF GPS</string>
+ <string name="pref_sirf_gps_summary_off">"Use SiRF Options"</string>
+ <string name="pref_sirf_gps_summary_on">"Don't SiRF Options"</string>
+ <string name="pref_sirf_nmea_category_title">Choice of NMEA sentences</string>
+ <string name="pref_sirf_gps_category_title">GPS operation</string>
+ <string name="pref_enable_gga_title">Enable NMEA GGA</string>
+ <string name="pref_enable_gga_summary_off">NMEA GGA sentences are off</string>
+ <string name="pref_enable_gga_summary_on">NMEA GGA sentences are on</string>
+ <string name="pref_enable_rmc_title">Enable NMEA RMC</string>
+ <string name="pref_enable_rmc_summary_off">NMEA RMC sentences are off</string>
+ <string name="pref_enable_rmc_summary_on">NMEA RMC sentences are on</string>
+ <string name="pref_enable_gll_title">Enable NMEA GLL</string>
+ <string name="pref_enable_gll_summary_off">NMEA GLL sentences are off</string>
+ <string name="pref_enable_gll_summary_on">NMEA GLL sentences are on</string>
+ <string name="pref_enable_vtg_title">Enable NMEA VTG</string>
+ <string name="pref_enable_vtg_summary_off">NMEA VTG sentences are off</string>
+ <string name="pref_enable_vtg_summary_on">NMEA VTG sentences are on</string>
+ <string name="pref_enable_gsa_title">Enable NMEA GSA</string>
+ <string name="pref_enable_gsa_summary_off">NMEA GSA sentences are off</string>
+ <string name="pref_enable_gsa_summary_on">NMEA GSA sentences are on</string>
+ <string name="pref_enable_gsv_title">Enable NMEA GSV</string>
+ <string name="pref_enable_gsv_summary_off">NMEA GSV sentences are off</string>
+ <string name="pref_enable_gsv_summary_on">NMEA GSV sentences are on</string>
+ <string name="pref_enable_zda_title">Enable NMEA ZDA</string>
+ <string name="pref_enable_zda_summary_off">NMEA ZDA sentences are off</string>
+ <string name="pref_enable_zda_summary_on">NMEA ZDA sentences are on</string>
+ <string name="pref_enable_sbas_title">SBAS (WAAS/EGNOS)</string>
+ <string name="pref_enable_sbas_summary_off">SBAS is off</string>
+ <string name="pref_enable_sbas_summary_on">SBAS is on</string>
+ <string name="pref_enable_nmea_title">NMEA/Binary mode</string>
+ <string name="pref_enable_nmea_summary_off">Binary mode is on</string>
+ <string name="pref_enable_nmea_summary_on">NMEA mode is on</string>
+ <string name="pref_enable_static_navigation_title">Static Navigation</string>
+ <string name="pref_enable_static_navigation_summary_off">Static Navigation disabled</string>
+ <string name="pref_enable_static_navigation_summary_on">Static Navigation enabled</string>
+
<string name="msg_gps_provider_started">Bluetooth GPS... started</string>
<string name="msg_gps_provider_stopped">Bluetooth GPS... stopped</string>
<string name="msg_gps_provider_already_started">Bluetooth GPS... is already on</string>
diff --git a/res/xml/pref.xml b/res/xml/pref.xml
index af0cb0c..948e0c2 100644
--- a/res/xml/pref.xml
+++ b/res/xml/pref.xml
@@ -61,6 +61,97 @@
android:inputType="numberDecimal"
android:summary="@string/pref_connection_retries_summary" />
</PreferenceScreen>
+ <CheckBoxPreference
+ android:key="@string/pref_sirf_gps_key"
+ android:persistent="true"
+ android:defaultValue="false"
+ android:disableDependentsState="false"
+ android:title="@string/pref_sirf_gps_title"
+ android:summaryOn="@string/pref_sirf_gps_summary_on"
+ android:summaryOff="@string/pref_sirf_gps_summary_off" />
+ <PreferenceScreen
+ android:title="@string/pref_start_gps_params_title"
+ android:dependency="@string/pref_sirf_gps_key"
+ android:orderingFromXml="true"
+ android:shouldDisableView = "true" >
+ <PreferenceCategory
+ android:order="200"
+ android:orderingFromXml="true"
+ android:title="@string/pref_sirf_nmea_category_title" >
+ <CheckBoxPreference
+ android:key="@string/pref_sirf_enable_gga_key"
+ android:enabled="false"
+ android:persistent="true"
+ android:defaultValue="true"
+ android:title="@string/pref_enable_gga_title"
+ android:summaryOn="@string/pref_enable_gga_summary_on"
+ android:summaryOff="@string/pref_enable_gga_summary_off" />
+ <CheckBoxPreference
+ android:key="@string/pref_sirf_enable_rmc_key"
+ android:enabled="false"
+ android:persistent="true"
+ android:defaultValue="true"
+ android:title="@string/pref_enable_rmc_title"
+ android:summaryOn="@string/pref_enable_rmc_summary_on"
+ android:summaryOff="@string/pref_enable_rmc_summary_off" />
+ <CheckBoxPreference
+ android:key="@string/pref_sirf_enable_gsa_key"
+ android:persistent="true"
+ android:title="@string/pref_enable_gsa_title"
+ android:summaryOn="@string/pref_enable_gsa_summary_on"
+ android:summaryOff="@string/pref_enable_gsa_summary_off" />
+ <CheckBoxPreference
+ android:key="@string/pref_sirf_enable_gsv_key"
+ android:persistent="true"
+ android:title="@string/pref_enable_gsv_title"
+ android:summaryOn="@string/pref_enable_gsv_summary_on"
+ android:summaryOff="@string/pref_enable_gsv_summary_off" />
+ <CheckBoxPreference
+ android:key="@string/pref_sirf_enable_vtg_key"
+ android:persistent="true"
+ android:title="@string/pref_enable_vtg_title"
+ android:summaryOn="@string/pref_enable_vtg_summary_on"
+ android:summaryOff="@string/pref_enable_vtg_summary_off" />
+ <CheckBoxPreference
+ android:key="@string/pref_sirf_enable_gll_key"
+ android:persistent="true"
+ android:title="@string/pref_enable_gll_title"
+ android:summaryOn="@string/pref_enable_gll_summary_on"
+ android:summaryOff="@string/pref_enable_gll_summary_off" />
+ <CheckBoxPreference
+ android:key="@string/pref_sirf_enable_zda_key"
+ android:persistent="true"
+ android:title="@string/pref_enable_zda_title"
+ android:summaryOn="@string/pref_enable_zda_summary_on"
+ android:summaryOff="@string/pref_enable_zda_summary_off" />
+ </PreferenceCategory>
+ <PreferenceCategory
+ android:order="100"
+ android:title="@string/pref_sirf_gps_category_title" >
+ <CheckBoxPreference
+ android:key="@string/pref_sirf_enable_sbas_key"
+ android:persistent="true"
+ android:defaultValue="true"
+ android:title="@string/pref_enable_sbas_title"
+ android:summaryOn="@string/pref_enable_sbas_summary_on"
+ android:summaryOff="@string/pref_enable_sbas_summary_off" />
+ <CheckBoxPreference
+ android:key="@string/pref_sirf_enable_nmea_key"
+ android:enabled="false"
+ android:persistent="true"
+ android:defaultValue="true"
+ android:title="@string/pref_enable_nmea_title"
+ android:summaryOn="@string/pref_enable_nmea_summary_on"
+ android:summaryOff="@string/pref_enable_nmea_summary_off" />
+ <CheckBoxPreference
+ android:key="@string/pref_sirf_enable_static_navigation_key"
+ android:persistent="true"
+ android:defaultValue="false"
+ android:title="@string/pref_enable_static_navigation_title"
+ android:summaryOn="@string/pref_enable_static_navigation_summary_on"
+ android:summaryOff="@string/pref_enable_static_navigation_summary_off" />
+ </PreferenceCategory>
+ </PreferenceScreen>
<CheckBoxPreference
android:enabled="true"
android:key="@string/pref_recording_key"