From 9375c006af7a16a4164073b1175aed209cf5fff4 Mon Sep 17 00:00:00 2001 From: Georg Lukas Date: Mon, 7 Mar 2011 20:17:01 +0100 Subject: [PATCH] location requesting, take 2 --- res/values/arrays.xml | 11 ++++++ res/values/strings.xml | 7 ++++ res/xml/preferences.xml | 12 ++++--- src/AprsService.scala | 78 ++++++++++++++++++++++------------------- 4 files changed, 68 insertions(+), 40 deletions(-) diff --git a/res/values/arrays.xml b/res/values/arrays.xml index efc5bb8..dc85b3e 100644 --- a/res/values/arrays.xml +++ b/res/values/arrays.xml @@ -13,6 +13,17 @@ afsk + + @string/p_gps_always + @string/p_gps_med + @string/p_gps_low + + + always + med + low + + 1 2 3 4 5 6 7 diff --git a/res/values/strings.xml b/res/values/strings.xml index e370acf..e6e6c6b 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -129,6 +129,13 @@ Keep GPS on longer to get more precise data Use network location Acquire position from the cellular network +GPS Precision +Battery usage vs. position quality +Please set the GPS Precision + +High (Always on) +Medium +Low APRS digi path diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml index 5dd755f..8be1cda 100644 --- a/res/xml/preferences.xml +++ b/res/xml/preferences.xml @@ -73,10 +73,14 @@ android:summary="@string/p_distance_summary" android:dialogTitle="@string/p_distance_entry" /> - +