diff --git a/app/src/main/java/com/eveningoutpost/dexdrip/models/RollCall.java b/app/src/main/java/com/eveningoutpost/dexdrip/models/RollCall.java index 6c7c6b2409..d02d7a016f 100644 --- a/app/src/main/java/com/eveningoutpost/dexdrip/models/RollCall.java +++ b/app/src/main/java/com/eveningoutpost/dexdrip/models/RollCall.java @@ -296,7 +296,7 @@ public static List megaStatus() { for (Map.Entry entry : indexed.entrySet()) { final RollCall rc = (RollCall) entry.getValue(); // TODO refactor with stringbuilder - lf.add(new StatusItem(rc.role + (desert_sync ? rc.getRemoteWifiIndicate(our_wifi_ssid) : "") + (engineering ? ("\n" + JoH.niceTimeSince(rc.last_seen) + " ago") : ""), rc.bestName() + (desert_sync ? rc.getRemoteIpStatus() : "") + (engineering && rc.batteryValid() ? ("\n" + rc.battery + "%") : "") + (engineering && rc.bridgeBatteryValid() ? (" " + rc.bridge_battery+"%") : ""))); + lf.add(new StatusItem(rc.role + (desert_sync ? rc.getRemoteWifiIndicate(our_wifi_ssid) : "") + (engineering ? ("\n" + JoH.niceTimeSince(rc.last_seen) + " ago") : ""), rc.bestName() + (desert_sync ? rc.getRemoteIpStatus() : "") + (rc.batteryValid() ? ("\n" + rc.battery + "%") : "") + (engineering && rc.bridgeBatteryValid() ? (" " + rc.bridge_battery+"%") : ""))); } Collections.sort(lf, new Comparator() { diff --git a/app/src/main/java/com/eveningoutpost/dexdrip/utils/Preferences.java b/app/src/main/java/com/eveningoutpost/dexdrip/utils/Preferences.java index d917e919d2..db41e05066 100644 --- a/app/src/main/java/com/eveningoutpost/dexdrip/utils/Preferences.java +++ b/app/src/main/java/com/eveningoutpost/dexdrip/utils/Preferences.java @@ -1144,7 +1144,6 @@ public void onCreate(Bundle savedInstanceState) { bindPreferenceSummaryToValue(findPreference("cloud_storage_mongodb_uri")); bindPreferenceSummaryToValue(findPreference("cloud_storage_mongodb_collection")); bindPreferenceSummaryToValue(findPreference("cloud_storage_mongodb_device_status_collection")); - bindPreferenceSummaryToValue(findPreference("cloud_storage_api_base")); addPreferencesFromResource(R.xml.pref_advanced_settings); addPreferencesFromResource(R.xml.xdrip_plus_prefs); diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 9bbc169dc6..6ff060682b 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -66,6 +66,7 @@ Enabled The REST API is the standard way to connect to Nightscout Base URL + Format: https://password@hostname/api/v1/ Enter Base API URL This only the base URL, the uploader will automatically append /entries for the POST. API_SECRET on the server should match yourpassphrase in this setting. https://yourpassphrase@{YOUR-SITE}.azurewebsites.net/api/v1/ @@ -780,6 +781,8 @@ Glucose Meters Options for wireless glucose meters Automatically connect and retrieve data from a standard\'s compliant glucose meter like the Contour Next One + Download glucose records from NFC meter when xDrip is open + Use NFC Meter Use Bluetooth Meter Scan for Bluetooth Meter Enable this to play sound effects when the meter connects, disconnects or syncs data @@ -1248,6 +1251,12 @@ Data Age Mins If enabled, uploads will go to https://int-app.tidepool.org instead of the regular https://app.tidepool.org/ Use Integration (test) servers + Upload data only when charging + Only when charging + Upload data only when connected to an unmetered network like Wifi + Only on Wifi + Upload only CGM data to avoid duplicates with manual pump upload + Don\'t upload treatments Tidepool Show Help Load / Save Settings @@ -1330,6 +1339,8 @@ Send notifications to the band for glucose alarms Send Alarms Shake to Snooze + Send call notifications to the band + Send Calls Lefun Screens / Features Features Lift to Wake @@ -1397,6 +1408,8 @@ Fallback to xDrip Use heuristics to minimize Bluetooth scanning + save power Minimize Scanning + Avoid scanning as much as possible (reduces battery usage further) + Avoid Scanning I am using a G6, G7, Dexcom 1 or One+ Sensor G6/G7/Dex1/One+ Support OB1 collector can unbond if it thinks the encryption has failed. If you get problems with it unpairing then disable this option. If you then totally lose connection, make sure this is enabled. @@ -1920,6 +1933,8 @@ Lower volume of other apps Pause other apps playing audio Pause all other sounds + Wake Screen + Wake up screen during alerts. Might unlock devices that don\'t have screen lock enabled. Use Camera Light Flash camera light during alerts when connected to a charger G7 should start automatically diff --git a/app/src/main/res/xml/pref_advanced_settings.xml b/app/src/main/res/xml/pref_advanced_settings.xml index 89b7334ec2..b06ee2d9df 100644 --- a/app/src/main/res/xml/pref_advanced_settings.xml +++ b/app/src/main/res/xml/pref_advanced_settings.xml @@ -523,8 +523,8 @@ android:defaultValue="false" android:dependency="lefun_enabled" android:key="lefun_option_call_notifications" - android:summary="Send call notifications to the band (Android 6+)" - android:title="Send Calls" /> + android:summary="@string/summary_lefun_send_calls" + android:title="@string/title_lefun_send_calls" /> diff --git a/app/src/main/res/xml/pref_data_source.xml b/app/src/main/res/xml/pref_data_source.xml index 0fb4a8a011..d95bbcb07b 100644 --- a/app/src/main/res/xml/pref_data_source.xml +++ b/app/src/main/res/xml/pref_data_source.xml @@ -387,8 +387,8 @@ android:dependency="ob1_minimize_scanning" android:enabled="true" android:key="ob1_avoid_scanning" - android:summary="Avoid scanning as much as possible (reduces battery usage further)" - android:title="Avoid Scanning" /> + android:summary="@string/summary_ob1_avoid_scanning" + android:title="@string/title_ob1_avoid_scanning" /> + android:title="@string/pref_title_api_url" + android:summary="@string/pref_summary_api_url"/> + android:summary="@string/summary_tidepool_upload_when_chargeonly" + android:title="@string/title_tidepool_upload_when_chargeonly" /> + android:summary="@string/summary_tidepool_upload_only_wifi" + android:title="@string/title_tidepool_upload_only_wifi" /> + android:summary="@string/summary_tidepool_upload_no_treatment" + android:title="@string/title_tidepool_upload_no_treatment" /> + android:title="@string/title_use_nfc_meter" /> + android:title="@string/wake_up_screen" />