aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorHerbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com>2010-09-29 01:55:15 +0200
committerHerbert von Broeuschmeul <Herbert.Broeuschmeul@gmail.com>2010-09-29 01:55:15 +0200
commit605e2c6f59105c9bd9f7b4d23230e837b3041a89 (patch)
tree925bb884132b20f5141207e71961b79bb1a97334 /res
parenta0059260f73288f663e7f4d4ce9e04b006605806 (diff)
downloadBlueGPS-605e2c6f59105c9bd9f7b4d23230e837b3041a89.zip
BlueGPS-605e2c6f59105c9bd9f7b4d23230e837b3041a89.tar.gz
BlueGPS-605e2c6f59105c9bd9f7b4d23230e837b3041a89.tar.bz2
Correction of a bug and notification improvement
Bug correction: I had forgotten to shutdown one ScheduledExecutorService, so BlueGPS was always trying to reconnect to the GPS, even after the application and service had been stopped. Improvement: First, when the connection with the GPS is lost, a notification is displayed. And then, if the GPS connection service is closed because of two many connection retry, an second notification is displayed. The fist notification allows the user to close BlueGPS service and the second one allows the user to re-enable it.
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 2b5eb41..9673747 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -94,4 +94,14 @@
<string name="foreground_service_started_notification_title">BlueGps</string>
<string name="foreground_gps_provider_started_notification">BlueGps service started</string>
<string name="foreground_nmea_recording_started_notification">BlueGps NMEA recording service started</string>
+ <string name="connection_problem_notification_title">BlueGps connection problem</string>
+ <plurals name="connection_problem_notification">
+ <item quantity="one">will retry one more time</item>
+ <item quantity="other">will retry %d more times</item>
+ </plurals>
+ <!--
+ <string name="connection_problem_notification">Have tried %d times - will retry %d more times</string>
+ -->
+ <string name="service_closed_because_connection_problem_notification_title">BlueGps stopped</string>
+ <string name="service_closed_because_connection_problem_notification">Reason: too many connection problems</string>
</resources>