pushed default status to strings

remotes/nogy/update_90
Georg Lukas 2010-01-22 18:35:02 +01:00
rodzic c9aa5c8158
commit f18f504506
3 zmienionych plików z 4 dodań i 1 usunięć

Wyświetl plik

@ -9,6 +9,8 @@
<string name="aprs_server">srvr.aprs-is.net</string>
<string name="default_status">http://github.com/ge0rg/aprsdroid</string>
<string name="service_once">APRS Service single shot.</string>
<string name="service_start">APRS Service started. Updates every %d minutes, %d km.</string>
<string name="service_stop">APRS Service stopped.</string>

Wyświetl plik

@ -34,6 +34,7 @@
<EditTextPreference
android:key="status"
android:hint="@string/default_status"
android:title="@string/p_status"
android:summary="@string/p_status_summary"
android:dialogTitle="@string/p_status_entry" />

Wyświetl plik

@ -79,7 +79,7 @@ class AprsService extends Service with LocationListener {
val callsign = prefs.getString("callsign", null)
val callssid = AprsPacket.formatCallSsid(callsign, prefs.getString("ssid", ""))
val status = prefs.getString("status", "http://github.com/ge0rg/aprsdroid")
val status = prefs.getString("status", getString(R.string.default_status))
val login = AprsPacket.formatLogin(prefs.getString("callsign", null),
prefs.getString("ssid", null), prefs.getString("passcode", null))