Merge pull request #2074 from christinadamianou/intelligo
Intelligo support
This commit is contained in:
commit
5d1699e0da
22 changed files with 316 additions and 2 deletions
|
@ -35,7 +35,6 @@
|
||||||
<!-- To receive data from Aidex -->
|
<!-- To receive data from Aidex -->
|
||||||
<uses-permission android:name="com.microtechmd.cgms.aidex.permissions.RECEIVE_BG_ESTIMATE" />
|
<uses-permission android:name="com.microtechmd.cgms.aidex.permissions.RECEIVE_BG_ESTIMATE" />
|
||||||
|
|
||||||
|
|
||||||
<application
|
<application
|
||||||
android:name=".MainApp"
|
android:name=".MainApp"
|
||||||
android:allowBackup="true"
|
android:allowBackup="true"
|
||||||
|
|
|
@ -91,6 +91,7 @@ class MyPreferenceFragment : PreferenceFragmentCompat(), OnSharedPreferenceChang
|
||||||
@Inject lateinit var poctechPlugin: PoctechPlugin
|
@Inject lateinit var poctechPlugin: PoctechPlugin
|
||||||
@Inject lateinit var tomatoPlugin: TomatoPlugin
|
@Inject lateinit var tomatoPlugin: TomatoPlugin
|
||||||
@Inject lateinit var glunovoPlugin: GlunovoPlugin
|
@Inject lateinit var glunovoPlugin: GlunovoPlugin
|
||||||
|
@Inject lateinit var intelligoPlugin: IntelligoPlugin
|
||||||
@Inject lateinit var aidexPlugin: AidexPlugin
|
@Inject lateinit var aidexPlugin: AidexPlugin
|
||||||
@Inject lateinit var smsCommunicatorPlugin: SmsCommunicatorPlugin
|
@Inject lateinit var smsCommunicatorPlugin: SmsCommunicatorPlugin
|
||||||
@Inject lateinit var statusLinePlugin: StatusLinePlugin
|
@Inject lateinit var statusLinePlugin: StatusLinePlugin
|
||||||
|
@ -167,6 +168,7 @@ class MyPreferenceFragment : PreferenceFragmentCompat(), OnSharedPreferenceChang
|
||||||
addPreferencesFromResourceIfEnabled(dexcomPlugin, rootKey)
|
addPreferencesFromResourceIfEnabled(dexcomPlugin, rootKey)
|
||||||
addPreferencesFromResourceIfEnabled(tomatoPlugin, rootKey)
|
addPreferencesFromResourceIfEnabled(tomatoPlugin, rootKey)
|
||||||
addPreferencesFromResourceIfEnabled(glunovoPlugin, rootKey)
|
addPreferencesFromResourceIfEnabled(glunovoPlugin, rootKey)
|
||||||
|
addPreferencesFromResourceIfEnabled(intelligoPlugin, rootKey)
|
||||||
addPreferencesFromResourceIfEnabled(poctechPlugin, rootKey)
|
addPreferencesFromResourceIfEnabled(poctechPlugin, rootKey)
|
||||||
addPreferencesFromResourceIfEnabled(aidexPlugin, rootKey)
|
addPreferencesFromResourceIfEnabled(aidexPlugin, rootKey)
|
||||||
addPreferencesFromResourceIfEnabled(glimpPlugin, rootKey)
|
addPreferencesFromResourceIfEnabled(glimpPlugin, rootKey)
|
||||||
|
|
|
@ -370,6 +370,12 @@ abstract class PluginsModule {
|
||||||
@IntKey(470)
|
@IntKey(470)
|
||||||
abstract fun bindGlunovoPlugin(plugin: GlunovoPlugin): PluginBase
|
abstract fun bindGlunovoPlugin(plugin: GlunovoPlugin): PluginBase
|
||||||
|
|
||||||
|
@Binds
|
||||||
|
@AllConfigs
|
||||||
|
@IntoMap
|
||||||
|
@IntKey(473)
|
||||||
|
abstract fun bindIntelligoPlugin(plugin: IntelligoPlugin): PluginBase
|
||||||
|
|
||||||
@Binds
|
@Binds
|
||||||
@AllConfigs
|
@AllConfigs
|
||||||
@IntoMap
|
@IntoMap
|
||||||
|
@ -412,4 +418,4 @@ abstract class PluginsModule {
|
||||||
@Qualifier
|
@Qualifier
|
||||||
annotation class APS
|
annotation class APS
|
||||||
|
|
||||||
}
|
}
|
|
@ -196,6 +196,7 @@ class BGSourceFragment : DaggerFragment(), MenuProvider {
|
||||||
R.string.poctech -> Sources.PocTech
|
R.string.poctech -> Sources.PocTech
|
||||||
R.string.tomato -> Sources.Tomato
|
R.string.tomato -> Sources.Tomato
|
||||||
R.string.glunovo -> Sources.Glunovo
|
R.string.glunovo -> Sources.Glunovo
|
||||||
|
R.string.intelligo -> Sources.Intelligo
|
||||||
R.string.xdrip -> Sources.Xdrip
|
R.string.xdrip -> Sources.Xdrip
|
||||||
R.string.aidex -> Sources.Aidex
|
R.string.aidex -> Sources.Aidex
|
||||||
else -> Sources.Unknown
|
else -> Sources.Unknown
|
||||||
|
|
|
@ -0,0 +1,190 @@
|
||||||
|
package info.nightscout.androidaps.plugins.source
|
||||||
|
|
||||||
|
import android.content.Context
|
||||||
|
import android.content.pm.PackageManager
|
||||||
|
import android.net.Uri
|
||||||
|
import android.os.Handler
|
||||||
|
import android.os.HandlerThread
|
||||||
|
import android.util.Log
|
||||||
|
import dagger.android.HasAndroidInjector
|
||||||
|
import info.nightscout.androidaps.Constants
|
||||||
|
import info.nightscout.androidaps.R
|
||||||
|
import info.nightscout.androidaps.database.AppRepository
|
||||||
|
import info.nightscout.androidaps.database.entities.GlucoseValue
|
||||||
|
import info.nightscout.androidaps.database.entities.TherapyEvent
|
||||||
|
import info.nightscout.androidaps.database.entities.UserEntry
|
||||||
|
import info.nightscout.androidaps.database.entities.ValueWithUnit
|
||||||
|
import info.nightscout.androidaps.database.transactions.CgmSourceTransaction
|
||||||
|
import info.nightscout.androidaps.interfaces.BgSource
|
||||||
|
import info.nightscout.androidaps.interfaces.PluginBase
|
||||||
|
import info.nightscout.androidaps.interfaces.PluginDescription
|
||||||
|
import info.nightscout.androidaps.interfaces.PluginType
|
||||||
|
import info.nightscout.androidaps.interfaces.ResourceHelper
|
||||||
|
import info.nightscout.androidaps.logging.UserEntryLogger
|
||||||
|
import info.nightscout.androidaps.utils.DateUtil
|
||||||
|
import info.nightscout.androidaps.utils.FabricPrivacy
|
||||||
|
import info.nightscout.androidaps.utils.T
|
||||||
|
import info.nightscout.androidaps.utils.XDripBroadcast
|
||||||
|
import info.nightscout.shared.logging.AAPSLogger
|
||||||
|
import info.nightscout.shared.logging.LTag
|
||||||
|
import info.nightscout.shared.sharedPreferences.SP
|
||||||
|
import io.reactivex.rxjava3.disposables.CompositeDisposable
|
||||||
|
import javax.inject.Inject
|
||||||
|
import javax.inject.Singleton
|
||||||
|
|
||||||
|
@Singleton
|
||||||
|
class IntelligoPlugin @Inject constructor(
|
||||||
|
injector: HasAndroidInjector,
|
||||||
|
resourceHelper: ResourceHelper,
|
||||||
|
aapsLogger: AAPSLogger,
|
||||||
|
private val sp: SP,
|
||||||
|
private val context: Context,
|
||||||
|
private val repository: AppRepository,
|
||||||
|
private val xDripBroadcast: XDripBroadcast,
|
||||||
|
private val dateUtil: DateUtil,
|
||||||
|
private val uel: UserEntryLogger,
|
||||||
|
private val fabricPrivacy: FabricPrivacy
|
||||||
|
) : PluginBase(
|
||||||
|
PluginDescription()
|
||||||
|
.mainType(PluginType.BGSOURCE)
|
||||||
|
.fragmentClass(BGSourceFragment::class.java.name)
|
||||||
|
.pluginIcon(R.drawable.ic_intelligo)
|
||||||
|
.pluginName(R.string.intelligo)
|
||||||
|
.preferencesId(R.xml.pref_bgsource)
|
||||||
|
.shortName(R.string.intelligo)
|
||||||
|
.description(R.string.description_source_intelligo),
|
||||||
|
aapsLogger, resourceHelper, injector
|
||||||
|
), BgSource {
|
||||||
|
|
||||||
|
private val handler = Handler(HandlerThread(this::class.java.simpleName + "Handler").also { it.start() }.looper)
|
||||||
|
private lateinit var refreshLoop: Runnable
|
||||||
|
|
||||||
|
private val contentUri: Uri = Uri.parse("content://$AUTHORITY/$TABLE_NAME")
|
||||||
|
|
||||||
|
init {
|
||||||
|
refreshLoop = Runnable {
|
||||||
|
try {
|
||||||
|
handleNewData()
|
||||||
|
} catch (e: Exception) {
|
||||||
|
fabricPrivacy.logException(e)
|
||||||
|
aapsLogger.error("Error while processing data", e)
|
||||||
|
}
|
||||||
|
val lastReadTimestamp = sp.getLong(R.string.key_last_processed_intelligo_timestamp, 0L)
|
||||||
|
val differenceToNow = INTERVAL - (dateUtil.now() - lastReadTimestamp) % INTERVAL + T.secs(10).msecs()
|
||||||
|
handler.postDelayed(refreshLoop, differenceToNow)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private val disposable = CompositeDisposable()
|
||||||
|
|
||||||
|
override fun onStart() {
|
||||||
|
super.onStart()
|
||||||
|
handler.postDelayed(refreshLoop, T.secs(30).msecs()) // do not start immediately, app may be still starting
|
||||||
|
}
|
||||||
|
|
||||||
|
override fun onStop() {
|
||||||
|
super.onStop()
|
||||||
|
handler.removeCallbacks(refreshLoop)
|
||||||
|
disposable.clear()
|
||||||
|
}
|
||||||
|
|
||||||
|
private fun handleNewData() {
|
||||||
|
if (!isEnabled()) return
|
||||||
|
|
||||||
|
for (pack in context.packageManager.getInstalledPackages(PackageManager.GET_PROVIDERS)) {
|
||||||
|
val providers = pack.providers
|
||||||
|
if (providers != null) {
|
||||||
|
for (provider in providers) {
|
||||||
|
Log.d("Example", "provider: " + provider.authority)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
context.contentResolver.query(contentUri, null, null, null, null)?.let { cr ->
|
||||||
|
val glucoseValues = mutableListOf<CgmSourceTransaction.TransactionGlucoseValue>()
|
||||||
|
val calibrations = mutableListOf<CgmSourceTransaction.Calibration>()
|
||||||
|
cr.moveToFirst()
|
||||||
|
|
||||||
|
while (!cr.isAfterLast) {
|
||||||
|
val timestamp = cr.getLong(0)
|
||||||
|
val value = cr.getDouble(1) //value in mmol/l...
|
||||||
|
val curr = cr.getDouble(2)
|
||||||
|
|
||||||
|
// bypass already processed
|
||||||
|
if (timestamp < sp.getLong(R.string.key_last_processed_intelligo_timestamp, 0L)) {
|
||||||
|
cr.moveToNext()
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
|
if (timestamp > dateUtil.now() || timestamp == 0L) {
|
||||||
|
aapsLogger.error(LTag.BGSOURCE, "Error in received data date/time $timestamp")
|
||||||
|
cr.moveToNext()
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
|
if (value < 2 || value > 25) {
|
||||||
|
aapsLogger.error(LTag.BGSOURCE, "Error in received data value (value out of bounds) $value")
|
||||||
|
cr.moveToNext()
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
|
if (curr != 0.0)
|
||||||
|
glucoseValues += CgmSourceTransaction.TransactionGlucoseValue(
|
||||||
|
timestamp = timestamp,
|
||||||
|
value = value * Constants.MMOLL_TO_MGDL,
|
||||||
|
raw = 0.0,
|
||||||
|
noise = null,
|
||||||
|
trendArrow = GlucoseValue.TrendArrow.NONE,
|
||||||
|
sourceSensor = GlucoseValue.SourceSensor.INTELLIGO_NATIVE
|
||||||
|
)
|
||||||
|
else
|
||||||
|
calibrations.add(
|
||||||
|
CgmSourceTransaction.Calibration(
|
||||||
|
timestamp = timestamp,
|
||||||
|
value = value,
|
||||||
|
glucoseUnit = TherapyEvent.GlucoseUnit.MMOL
|
||||||
|
)
|
||||||
|
)
|
||||||
|
sp.putLong(R.string.key_last_processed_intelligo_timestamp, timestamp)
|
||||||
|
cr.moveToNext()
|
||||||
|
}
|
||||||
|
cr.close()
|
||||||
|
|
||||||
|
if (glucoseValues.isNotEmpty() || calibrations.isNotEmpty())
|
||||||
|
repository.runTransactionForResult(CgmSourceTransaction(glucoseValues, calibrations, null))
|
||||||
|
.doOnError {
|
||||||
|
aapsLogger.error(LTag.DATABASE, "Error while saving values from IntelliGO App", it)
|
||||||
|
}
|
||||||
|
.blockingGet()
|
||||||
|
.also { savedValues ->
|
||||||
|
savedValues.inserted.forEach {
|
||||||
|
xDripBroadcast.send(it)
|
||||||
|
aapsLogger.debug(LTag.DATABASE, "Inserted bg $it")
|
||||||
|
}
|
||||||
|
savedValues.calibrationsInserted.forEach { calibration ->
|
||||||
|
calibration.glucose?.let { glucosevalue ->
|
||||||
|
uel.log(
|
||||||
|
UserEntry.Action.CALIBRATION,
|
||||||
|
UserEntry.Sources.Dexcom,
|
||||||
|
ValueWithUnit.Timestamp(calibration.timestamp),
|
||||||
|
ValueWithUnit.TherapyEventType(calibration.type),
|
||||||
|
ValueWithUnit.fromGlucoseUnit(glucosevalue, calibration.glucoseUnit.toString)
|
||||||
|
)
|
||||||
|
}
|
||||||
|
aapsLogger.debug(LTag.DATABASE, "Inserted calibration $calibration")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
override fun shouldUploadToNs(glucoseValue: GlucoseValue): Boolean =
|
||||||
|
glucoseValue.sourceSensor == GlucoseValue.SourceSensor.INTELLIGO_NATIVE && sp.getBoolean(R.string.key_dexcomg5_nsupload, false)
|
||||||
|
|
||||||
|
companion object {
|
||||||
|
@Suppress("SpellCheckingInspection")
|
||||||
|
const val AUTHORITY = "alexpr.co.uk.infinivocgm.intelligo.cgm_db.CgmExternalProvider"
|
||||||
|
//const val AUTHORITY = "alexpr.co.uk.infinivocgm.cgm_db.CgmExternalProvider/"
|
||||||
|
const val TABLE_NAME = "CgmReading"
|
||||||
|
const val INTERVAL = 180000L // 3 min
|
||||||
|
}
|
||||||
|
}
|
|
@ -656,6 +656,8 @@
|
||||||
<string name="description_source_poctech">Získávat glykémie z aplikace Poctech</string>
|
<string name="description_source_poctech">Získávat glykémie z aplikace Poctech</string>
|
||||||
<string name="glunovo">Glunovo</string>
|
<string name="glunovo">Glunovo</string>
|
||||||
<string name="description_source_glunovo">Získávat glykémie z aplikace Glunovo</string>
|
<string name="description_source_glunovo">Získávat glykémie z aplikace Glunovo</string>
|
||||||
|
<string name="intelligo">Intelligo</string>
|
||||||
|
<string name="description_source_intelligo">Získávat glykémie z aplikace Intelligo</string>
|
||||||
<string name="description_source_tomato">Přijímat hodnoty glykémií z Tomato aplikace (MiaoMiao zařízení)</string>
|
<string name="description_source_tomato">Přijímat hodnoty glykémií z Tomato aplikace (MiaoMiao zařízení)</string>
|
||||||
<string name="high_temptarget_raises_sensitivity_title">Vysoký dočasný cíl zvýší senzitivitu</string>
|
<string name="high_temptarget_raises_sensitivity_title">Vysoký dočasný cíl zvýší senzitivitu</string>
|
||||||
<string name="high_temptarget_raises_sensitivity_summary"><![CDATA[Zvýšení senzitivity pro dočasné cíle >= 5.5]]></string>
|
<string name="high_temptarget_raises_sensitivity_summary"><![CDATA[Zvýšení senzitivity pro dočasné cíle >= 5.5]]></string>
|
||||||
|
|
|
@ -656,6 +656,8 @@
|
||||||
<string name="description_source_poctech">Modtag BS-værdier fra Poctech app</string>
|
<string name="description_source_poctech">Modtag BS-værdier fra Poctech app</string>
|
||||||
<string name="glunovo">Glunovo</string>
|
<string name="glunovo">Glunovo</string>
|
||||||
<string name="description_source_glunovo">Modtag værdier fra Glunovo app</string>
|
<string name="description_source_glunovo">Modtag værdier fra Glunovo app</string>
|
||||||
|
<string name="intelligo">Intelligo</string>
|
||||||
|
<string name="description_source_intelligo">Modtag værdier fra Intelligo app</string>
|
||||||
<string name="description_source_tomato">Modtag BS-værdier fra Tomato-appen (MiaoMiao enhed)</string>
|
<string name="description_source_tomato">Modtag BS-værdier fra Tomato-appen (MiaoMiao enhed)</string>
|
||||||
<string name="high_temptarget_raises_sensitivity_title">Høj midlertidig basal øger sensitivitet</string>
|
<string name="high_temptarget_raises_sensitivity_title">Høj midlertidig basal øger sensitivitet</string>
|
||||||
<string name="high_temptarget_raises_sensitivity_summary"><![CDATA[Hæv følsomheden for midlertidige basaler >= 100]]></string>
|
<string name="high_temptarget_raises_sensitivity_summary"><![CDATA[Hæv følsomheden for midlertidige basaler >= 100]]></string>
|
||||||
|
|
|
@ -654,6 +654,8 @@
|
||||||
<string name="time_elapsed">Verstrichene Zeit</string>
|
<string name="time_elapsed">Verstrichene Zeit</string>
|
||||||
<string name="poctech">Poctech</string>
|
<string name="poctech">Poctech</string>
|
||||||
<string name="description_source_poctech">Empfange Blutzucker-Werte von der Poctech-App.</string>
|
<string name="description_source_poctech">Empfange Blutzucker-Werte von der Poctech-App.</string>
|
||||||
|
<string name="intelligo">Intelligo</string>
|
||||||
|
<string name="description_source_intelligo">Werte von der Intelligo App erhalten</string>
|
||||||
<string name="glunovo">Glunovo</string>
|
<string name="glunovo">Glunovo</string>
|
||||||
<string name="description_source_glunovo">Werte von der Glunovo App erhalten</string>
|
<string name="description_source_glunovo">Werte von der Glunovo App erhalten</string>
|
||||||
<string name="description_source_tomato">Empfange Blutzucker-Werte von der Tomato-App (MiaoMiao-Geräte)</string>
|
<string name="description_source_tomato">Empfange Blutzucker-Werte von der Tomato-App (MiaoMiao-Geräte)</string>
|
||||||
|
|
|
@ -642,6 +642,8 @@
|
||||||
<string name="description_source_poctech">Gauti KG vertes iš Poctech programėlės</string>
|
<string name="description_source_poctech">Gauti KG vertes iš Poctech programėlės</string>
|
||||||
<string name="glunovo">Glunovo</string>
|
<string name="glunovo">Glunovo</string>
|
||||||
<string name="description_source_glunovo">Gauti KG reikšmes iš Glunovo programos</string>
|
<string name="description_source_glunovo">Gauti KG reikšmes iš Glunovo programos</string>
|
||||||
|
<string name="intelligo">Intelligo</string>
|
||||||
|
<string name="description_source_intelligo">Gauti KG reikšmes iš Intelligo programos</string>
|
||||||
<string name="description_source_tomato">Gauti KG vertes iš Tomato programėlės (MiaoMiao)</string>
|
<string name="description_source_tomato">Gauti KG vertes iš Tomato programėlės (MiaoMiao)</string>
|
||||||
<string name="high_temptarget_raises_sensitivity_title">Intensyvus laikinas tikslas didina jautrumą</string>
|
<string name="high_temptarget_raises_sensitivity_title">Intensyvus laikinas tikslas didina jautrumą</string>
|
||||||
<string name="high_temptarget_raises_sensitivity_summary"><![CDATA[Padidinti jautrumą laikiniems tikslams >= 100]]></string>
|
<string name="high_temptarget_raises_sensitivity_summary"><![CDATA[Padidinti jautrumą laikiniems tikslams >= 100]]></string>
|
||||||
|
|
|
@ -656,6 +656,8 @@
|
||||||
<string name="description_source_poctech">Motta BS verdier fra Poctech app</string>
|
<string name="description_source_poctech">Motta BS verdier fra Poctech app</string>
|
||||||
<string name="glunovo">Glunovo</string>
|
<string name="glunovo">Glunovo</string>
|
||||||
<string name="description_source_glunovo">Motta BS verdier fra Glunovo app</string>
|
<string name="description_source_glunovo">Motta BS verdier fra Glunovo app</string>
|
||||||
|
<string name="intelligo">Intelligo</string>
|
||||||
|
<string name="description_source_intelligo">Motta BS verdier fra Intelligo app</string>
|
||||||
<string name="description_source_tomato">Motta BS verdier fra Tomato app (MiaoMiao enhet)</string>
|
<string name="description_source_tomato">Motta BS verdier fra Tomato app (MiaoMiao enhet)</string>
|
||||||
<string name="high_temptarget_raises_sensitivity_title">Høy temp target øker sensitiviteten</string>
|
<string name="high_temptarget_raises_sensitivity_title">Høy temp target øker sensitiviteten</string>
|
||||||
<string name="high_temptarget_raises_sensitivity_summary"><![CDATA[Øk sensitiviteten for temp target >= 100]]></string>
|
<string name="high_temptarget_raises_sensitivity_summary"><![CDATA[Øk sensitiviteten for temp target >= 100]]></string>
|
||||||
|
|
|
@ -643,6 +643,8 @@
|
||||||
<string name="description_source_poctech">Odczytuj wartości BG z aplikacji Poctech</string>
|
<string name="description_source_poctech">Odczytuj wartości BG z aplikacji Poctech</string>
|
||||||
<string name="glunovo">Glunovo</string>
|
<string name="glunovo">Glunovo</string>
|
||||||
<string name="description_source_glunovo">Otrzymuj wartości z aplikacji Glunovo</string>
|
<string name="description_source_glunovo">Otrzymuj wartości z aplikacji Glunovo</string>
|
||||||
|
<string name="intelligo">Intelligo</string>
|
||||||
|
<string name="description_source_intelligo">Otrzymuj wartości z aplikacji Intelligo</string>
|
||||||
<string name="description_source_tomato">Otrzymuj poziomy cukru (BG) z Apki Tomato) (urządzenie MiaoMiao)</string>
|
<string name="description_source_tomato">Otrzymuj poziomy cukru (BG) z Apki Tomato) (urządzenie MiaoMiao)</string>
|
||||||
<string name="high_temptarget_raises_sensitivity_title">Wysoki tymczasowy cel zwiększy wrażliwość</string>
|
<string name="high_temptarget_raises_sensitivity_title">Wysoki tymczasowy cel zwiększy wrażliwość</string>
|
||||||
<string name="high_temptarget_raises_sensitivity_summary"><![CDATA[Zwiększona wrażliwość dla tymczasowego celu > = 100]]></string>
|
<string name="high_temptarget_raises_sensitivity_summary"><![CDATA[Zwiększona wrażliwość dla tymczasowego celu > = 100]]></string>
|
||||||
|
|
|
@ -642,6 +642,8 @@
|
||||||
<string name="description_source_poctech">Receber valores Glucose da app Poctech</string>
|
<string name="description_source_poctech">Receber valores Glucose da app Poctech</string>
|
||||||
<string name="glunovo">Glunovo</string>
|
<string name="glunovo">Glunovo</string>
|
||||||
<string name="description_source_glunovo">Receber valores do aplicativo Glunovo</string>
|
<string name="description_source_glunovo">Receber valores do aplicativo Glunovo</string>
|
||||||
|
<string name="intelligo">Intelligo</string>
|
||||||
|
<string name="description_source_intelligo">Receber valores do aplicativo Intelligo</string>
|
||||||
<string name="description_source_tomato">Receber valores de Glicose da app Tomato (dispositivo MiaoMiao)</string>
|
<string name="description_source_tomato">Receber valores de Glicose da app Tomato (dispositivo MiaoMiao)</string>
|
||||||
<string name="high_temptarget_raises_sensitivity_title">Alto alvotempo aumenta sensibilidade</string>
|
<string name="high_temptarget_raises_sensitivity_title">Alto alvotempo aumenta sensibilidade</string>
|
||||||
<string name="high_temptarget_raises_sensitivity_summary"><![CDATA[Aumentar sensibilidade para alvostemp >= 100]]></string>
|
<string name="high_temptarget_raises_sensitivity_summary"><![CDATA[Aumentar sensibilidade para alvostemp >= 100]]></string>
|
||||||
|
|
|
@ -642,6 +642,8 @@
|
||||||
<string name="description_source_poctech">Citire a valorii glicemiei din aplicația Poctech</string>
|
<string name="description_source_poctech">Citire a valorii glicemiei din aplicația Poctech</string>
|
||||||
<string name="glunovo">Glunovo</string>
|
<string name="glunovo">Glunovo</string>
|
||||||
<string name="description_source_glunovo">Primiți glicemii de la aplicația Glunovo</string>
|
<string name="description_source_glunovo">Primiți glicemii de la aplicația Glunovo</string>
|
||||||
|
<string name="intelligo">Intelligo</string>
|
||||||
|
<string name="description_source_intelligo">Primiți glicemii de la aplicația Intelligo</string>
|
||||||
<string name="description_source_tomato">Înregistrează valorile glicemiei din aplicația Tomato (dispozitiv MiaoMIao)</string>
|
<string name="description_source_tomato">Înregistrează valorile glicemiei din aplicația Tomato (dispozitiv MiaoMIao)</string>
|
||||||
<string name="high_temptarget_raises_sensitivity_title">Ținte temporare mai mari cresc sensibilitatea</string>
|
<string name="high_temptarget_raises_sensitivity_title">Ținte temporare mai mari cresc sensibilitatea</string>
|
||||||
<string name="high_temptarget_raises_sensitivity_summary"><![CDATA[Creșterea sensibilității pentru ținte temporare >= 100]]></string>
|
<string name="high_temptarget_raises_sensitivity_summary"><![CDATA[Creșterea sensibilității pentru ținte temporare >= 100]]></string>
|
||||||
|
|
|
@ -656,6 +656,8 @@
|
||||||
<string name="description_source_poctech">Получать данные гликемии от приложения Poctech</string>
|
<string name="description_source_poctech">Получать данные гликемии от приложения Poctech</string>
|
||||||
<string name="glunovo">Приложение Glunovo</string>
|
<string name="glunovo">Приложение Glunovo</string>
|
||||||
<string name="description_source_glunovo">Получать данные гликемии от приложения Glunovo</string>
|
<string name="description_source_glunovo">Получать данные гликемии от приложения Glunovo</string>
|
||||||
|
<string name="intelligo">Приложение Intelligo</string>
|
||||||
|
<string name="description_source_intelligo">Получать данные гликемии от приложения Intelligo</string>
|
||||||
<string name="description_source_tomato">Получать значения ГК от приложения Tomato (устройство MiaoMiao)</string>
|
<string name="description_source_tomato">Получать значения ГК от приложения Tomato (устройство MiaoMiao)</string>
|
||||||
<string name="high_temptarget_raises_sensitivity_title">Высокая врем. цель temptarget повышает чувствительность</string>
|
<string name="high_temptarget_raises_sensitivity_title">Высокая врем. цель temptarget повышает чувствительность</string>
|
||||||
<string name="high_temptarget_raises_sensitivity_summary"><![CDATA[Повысить чувствительность для temptargets > = 100]]></string>
|
<string name="high_temptarget_raises_sensitivity_summary"><![CDATA[Повысить чувствительность для temptargets > = 100]]></string>
|
||||||
|
|
|
@ -656,6 +656,8 @@
|
||||||
<string name="description_source_poctech">Získavať glykémie z aplikácie Poctech</string>
|
<string name="description_source_poctech">Získavať glykémie z aplikácie Poctech</string>
|
||||||
<string name="glunovo">Glunovo</string>
|
<string name="glunovo">Glunovo</string>
|
||||||
<string name="description_source_glunovo">Získavať glykémie z aplikácie Glunovo</string>
|
<string name="description_source_glunovo">Získavať glykémie z aplikácie Glunovo</string>
|
||||||
|
<string name="intelligo">Intelligo</string>
|
||||||
|
<string name="description_source_intelligo">Získavať glykémie z aplikácie Intelligo</string>
|
||||||
<string name="description_source_tomato">Prijímať glykémie z aplikácie Tomato (zariadenie MiaoMiao)</string>
|
<string name="description_source_tomato">Prijímať glykémie z aplikácie Tomato (zariadenie MiaoMiao)</string>
|
||||||
<string name="high_temptarget_raises_sensitivity_title">Vysoký dočasný cieľ zvýši citlivosť</string>
|
<string name="high_temptarget_raises_sensitivity_title">Vysoký dočasný cieľ zvýši citlivosť</string>
|
||||||
<string name="high_temptarget_raises_sensitivity_summary"><![CDATA[Zvýšenie citlivosti pre dočasné ciele >= 5.5]]></string>
|
<string name="high_temptarget_raises_sensitivity_summary"><![CDATA[Zvýšenie citlivosti pre dočasné ciele >= 5.5]]></string>
|
||||||
|
|
|
@ -657,6 +657,8 @@ Aktif Karbonhidratın ne kadar hızlı sindirildiğine ve KŞ\'nin beklenenden d
|
||||||
<string name="description_source_poctech">Poctech uygulamasından KŞ değerlerini alır</string>
|
<string name="description_source_poctech">Poctech uygulamasından KŞ değerlerini alır</string>
|
||||||
<string name="glunovo">Glunovo</string>
|
<string name="glunovo">Glunovo</string>
|
||||||
<string name="description_source_glunovo">Glunovo uygulamasından değerler alır</string>
|
<string name="description_source_glunovo">Glunovo uygulamasından değerler alır</string>
|
||||||
|
<string name="intelligo">Intelligo</string>
|
||||||
|
<string name="description_source_intelligo">Intelligo uygulamasından değerler alır</string>
|
||||||
<string name="description_source_tomato">KŞ değerlerini Tomato uygulamasından (MiaoMiao Cihazından) al</string>
|
<string name="description_source_tomato">KŞ değerlerini Tomato uygulamasından (MiaoMiao Cihazından) al</string>
|
||||||
<string name="high_temptarget_raises_sensitivity_title">Yüksek geçici hedefler duyarlılığı artırır</string>
|
<string name="high_temptarget_raises_sensitivity_title">Yüksek geçici hedefler duyarlılığı artırır</string>
|
||||||
<string name="high_temptarget_raises_sensitivity_summary"><![CDATA[Geçici Hedefler için duyarlılığı artırın >= 100]]></string>
|
<string name="high_temptarget_raises_sensitivity_summary"><![CDATA[Geçici Hedefler için duyarlılığı artırın >= 100]]></string>
|
||||||
|
|
|
@ -648,6 +648,8 @@
|
||||||
<string name="description_source_poctech">从 Poctech app 接收血糖值。</string>
|
<string name="description_source_poctech">从 Poctech app 接收血糖值。</string>
|
||||||
<string name="glunovo">Glunovo</string>
|
<string name="glunovo">Glunovo</string>
|
||||||
<string name="description_source_glunovo">从Glunovo应用接收血糖数据。</string>
|
<string name="description_source_glunovo">从Glunovo应用接收血糖数据。</string>
|
||||||
|
<string name="intelligo">Intelligo</string>
|
||||||
|
<string name="description_source_intelligo">从Intelligo应用接收血糖数据。</string>
|
||||||
<string name="description_source_tomato">从番茄app(喵喵设备) 接收血糖值</string>
|
<string name="description_source_tomato">从番茄app(喵喵设备) 接收血糖值</string>
|
||||||
<string name="high_temptarget_raises_sensitivity_title">高临时目标增加灵敏度</string>
|
<string name="high_temptarget_raises_sensitivity_title">高临时目标增加灵敏度</string>
|
||||||
<string name="high_temptarget_raises_sensitivity_summary"><![CDATA[当临时目标 >=100 mg/dl (5.5 mmol/l) 时提高灵敏度]]></string>
|
<string name="high_temptarget_raises_sensitivity_summary"><![CDATA[当临时目标 >=100 mg/dl (5.5 mmol/l) 时提高灵敏度]]></string>
|
||||||
|
|
|
@ -801,6 +801,8 @@
|
||||||
<string name="description_source_poctech">Receive BG values from Poctech app</string>
|
<string name="description_source_poctech">Receive BG values from Poctech app</string>
|
||||||
<string name="glunovo">Glunovo</string>
|
<string name="glunovo">Glunovo</string>
|
||||||
<string name="description_source_glunovo">Receive values from Glunovo app</string>
|
<string name="description_source_glunovo">Receive values from Glunovo app</string>
|
||||||
|
<string name="intelligo">Intelligo</string>
|
||||||
|
<string name="description_source_intelligo">Receive values from Intelligo app</string>
|
||||||
<string name="description_source_tomato">Receive BG values from Tomato app (MiaoMiao device)</string>
|
<string name="description_source_tomato">Receive BG values from Tomato app (MiaoMiao device)</string>
|
||||||
<string name="key_high_temptarget_raises_sensitivity" translatable="false">high_temptarget_raises_sensitivity</string>
|
<string name="key_high_temptarget_raises_sensitivity" translatable="false">high_temptarget_raises_sensitivity</string>
|
||||||
<string name="key_low_temptarget_lowers_sensitivity" translatable="false">low_temptarget_lowers_sensitivity</string>
|
<string name="key_low_temptarget_lowers_sensitivity" translatable="false">low_temptarget_lowers_sensitivity</string>
|
||||||
|
@ -1126,6 +1128,8 @@
|
||||||
<string name="recalculated_data_used">Recalculated data used</string>
|
<string name="recalculated_data_used">Recalculated data used</string>
|
||||||
<string name="bg_too_close">BG too close:\n%1$s\n%2$s</string>
|
<string name="bg_too_close">BG too close:\n%1$s\n%2$s</string>
|
||||||
<string name="key_last_processed_glunovo_timestamp" translatable="false">last_processed_glunovo_timestamp</string>
|
<string name="key_last_processed_glunovo_timestamp" translatable="false">last_processed_glunovo_timestamp</string>
|
||||||
|
<string name="key_last_processed_intelligo_timestamp" translatable="false">
|
||||||
|
last_processed_intelligo_timestamp</string>
|
||||||
<string name="identification">Identification (email, FB or Discord nick etc)</string>
|
<string name="identification">Identification (email, FB or Discord nick etc)</string>
|
||||||
<string name="identification_not_set">Identification not set in dev mode</string>
|
<string name="identification_not_set">Identification not set in dev mode</string>
|
||||||
<string name="a11y_dialog">dialog</string>
|
<string name="a11y_dialog">dialog</string>
|
||||||
|
|
|
@ -73,6 +73,7 @@ class UserEntryPresentationHelper @Inject constructor(
|
||||||
Sources.PocTech -> R.drawable.ic_poctech
|
Sources.PocTech -> R.drawable.ic_poctech
|
||||||
Sources.Tomato -> R.drawable.ic_sensor
|
Sources.Tomato -> R.drawable.ic_sensor
|
||||||
Sources.Glunovo -> R.drawable.ic_glunovo
|
Sources.Glunovo -> R.drawable.ic_glunovo
|
||||||
|
Sources.Intelligo -> R.drawable.ic_intelligo
|
||||||
Sources.Xdrip -> R.drawable.ic_blooddrop_48
|
Sources.Xdrip -> R.drawable.ic_blooddrop_48
|
||||||
Sources.LocalProfile -> R.drawable.ic_local_profile
|
Sources.LocalProfile -> R.drawable.ic_local_profile
|
||||||
Sources.Loop -> R.drawable.ic_loop_closed_white
|
Sources.Loop -> R.drawable.ic_loop_closed_white
|
||||||
|
|
85
core/src/main/res/drawable/ic_intelligo.xml
Normal file
85
core/src/main/res/drawable/ic_intelligo.xml
Normal file
|
@ -0,0 +1,85 @@
|
||||||
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:aapt="http://schemas.android.com/aapt"
|
||||||
|
android:width="64dp"
|
||||||
|
android:height="64dp"
|
||||||
|
android:viewportWidth="64"
|
||||||
|
android:viewportHeight="64">
|
||||||
|
<path
|
||||||
|
android:pathData="M51.787,23.533c-0.01,-10.925 -8.888,-19.787 -19.813,-19.777c-10.925,0.01 -19.787,8.889 -19.777,19.814l0.016,16.897c0.01,10.925 8.888,19.787 19.813,19.777c10.925,-0.01 19.787,-8.889 19.777,-19.814l-0.016,-16.897Z"
|
||||||
|
android:fillColor="#ebeae3"/>
|
||||||
|
<path
|
||||||
|
android:pathData="M46.353,25.52c-0.007,-7.925 -6.447,-14.353 -14.372,-14.346c-7.925,0.008 -14.353,6.448 -14.346,14.373l0.015,16.092c0.006,6.181 5.029,11.195 11.21,11.19l6.318,-0.006c6.182,-0.006 11.196,-5.029 11.19,-11.211l-0.015,-16.092Z">
|
||||||
|
<aapt:attr name="android:fillColor">
|
||||||
|
<gradient
|
||||||
|
android:startY="31.4229"
|
||||||
|
android:startX="17.6405"
|
||||||
|
android:endY="30.819769"
|
||||||
|
android:endX="58.322098"
|
||||||
|
android:type="linear">
|
||||||
|
<item android:offset="0" android:color="#FFFFFFFF"/>
|
||||||
|
<item android:offset="1" android:color="#FFB3B3B3"/>
|
||||||
|
</gradient>
|
||||||
|
</aapt:attr>
|
||||||
|
</path>
|
||||||
|
<path
|
||||||
|
android:pathData="M22.928,44.362l-0.021,-22.414c-0.004,-4.01 3.249,-7.27 7.26,-7.273l3.634,-0.004c4.011,-0.003 7.27,3.25 7.274,7.261l0.02,22.413c-0.638,2.068 -1.683,3.934 -3.208,5.56l-11.85,0.011c-1.578,-1.46 -2.517,-3.384 -3.119,-5.554l0.01,-0Z"
|
||||||
|
android:strokeWidth="0.56"
|
||||||
|
android:fillColor="#00000000"
|
||||||
|
android:strokeColor="#000"/>
|
||||||
|
<path
|
||||||
|
android:fillColor="@android:color/black"
|
||||||
|
android:pathData="M28.826,46.02l-2.759,0.002l-0.001,-0.899c-0,-0.158 0.008,-0.279 0.026,-0.362c0.022,-0.117 0.065,-0.216 0.129,-0.295c0.063,-0.079 0.152,-0.143 0.266,-0.191c0.114,-0.048 0.239,-0.073 0.376,-0.073c0.235,0 0.434,0.064 0.596,0.193c0.163,0.129 0.244,0.362 0.245,0.699l0,0.611l1.122,-0.001l0,0.316ZM27.378,45.706l-0,-0.616c-0,-0.204 -0.044,-0.349 -0.132,-0.434c-0.088,-0.086 -0.212,-0.129 -0.371,-0.129c-0.116,0.001 -0.214,0.026 -0.297,0.076c-0.082,0.051 -0.136,0.117 -0.162,0.2c-0.017,0.053 -0.025,0.151 -0.025,0.294l0.001,0.61l0.986,-0.001Z"
|
||||||
|
android:fillType="nonZero"/>
|
||||||
|
<path
|
||||||
|
android:fillColor="@android:color/black"
|
||||||
|
android:pathData="M27.48,43.896c-0.458,0.001 -0.816,-0.105 -1.076,-0.317c-0.259,-0.213 -0.389,-0.487 -0.389,-0.823c-0,-0.22 0.06,-0.418 0.182,-0.595c0.122,-0.177 0.291,-0.311 0.509,-0.404c0.217,-0.093 0.464,-0.14 0.74,-0.14c0.28,-0 0.531,0.048 0.752,0.146c0.221,0.097 0.388,0.235 0.502,0.414c0.114,0.179 0.171,0.371 0.171,0.578c-0,0.225 -0.063,0.425 -0.188,0.602c-0.125,0.177 -0.297,0.311 -0.514,0.402c-0.217,0.091 -0.446,0.137 -0.689,0.137ZM27.486,43.571c0.332,-0 0.594,-0.078 0.786,-0.232c0.191,-0.155 0.286,-0.349 0.286,-0.582c-0,-0.237 -0.097,-0.432 -0.29,-0.585c-0.194,-0.154 -0.468,-0.23 -0.823,-0.23c-0.225,0 -0.421,0.033 -0.588,0.099c-0.168,0.066 -0.298,0.162 -0.39,0.288c-0.092,0.127 -0.138,0.268 -0.138,0.425c0,0.224 0.089,0.416 0.267,0.576c0.178,0.161 0.474,0.241 0.89,0.241Z"
|
||||||
|
android:fillType="nonZero"/>
|
||||||
|
<path
|
||||||
|
android:fillColor="@android:color/black"
|
||||||
|
android:pathData="M27.853,39.51l0.092,-0.316c0.3,0.066 0.529,0.185 0.687,0.357c0.157,0.171 0.236,0.381 0.236,0.629c0.001,0.257 -0.06,0.466 -0.181,0.627c-0.121,0.161 -0.296,0.284 -0.526,0.368c-0.229,0.084 -0.476,0.127 -0.739,0.127c-0.288,0 -0.538,-0.047 -0.752,-0.142c-0.215,-0.094 -0.377,-0.229 -0.488,-0.404c-0.112,-0.175 -0.167,-0.368 -0.168,-0.578c0,-0.238 0.07,-0.439 0.211,-0.602c0.14,-0.162 0.338,-0.276 0.593,-0.34l0.085,0.311c-0.201,0.055 -0.347,0.135 -0.439,0.24c-0.091,0.106 -0.137,0.238 -0.137,0.397c0,0.183 0.051,0.336 0.153,0.459c0.102,0.123 0.238,0.21 0.41,0.259c0.171,0.05 0.348,0.075 0.53,0.075c0.234,-0.001 0.439,-0.03 0.614,-0.089c0.175,-0.06 0.306,-0.152 0.392,-0.276c0.087,-0.125 0.13,-0.26 0.13,-0.405c-0,-0.177 -0.059,-0.326 -0.177,-0.449c-0.118,-0.122 -0.294,-0.205 -0.526,-0.248Z"
|
||||||
|
android:fillType="nonZero"/>
|
||||||
|
<path
|
||||||
|
android:fillColor="@android:color/black"
|
||||||
|
android:pathData="M28.82,38.199l-2.434,0.002l0,0.785l-0.325,0l-0.002,-1.889l0.326,0l0,0.789l2.434,-0.003l0.001,0.316Z"
|
||||||
|
android:fillType="nonZero"/>
|
||||||
|
<path
|
||||||
|
android:fillColor="@android:color/black"
|
||||||
|
android:pathData="M28.174,36.055l0.043,-0.302c0.205,0.047 0.363,0.135 0.477,0.264c0.113,0.129 0.169,0.294 0.169,0.494c0.001,0.253 -0.089,0.453 -0.269,0.601c-0.18,0.148 -0.433,0.222 -0.758,0.223c-0.336,-0 -0.597,-0.075 -0.783,-0.224c-0.186,-0.149 -0.279,-0.343 -0.279,-0.582c-0,-0.231 0.09,-0.419 0.272,-0.566c0.182,-0.146 0.438,-0.22 0.768,-0.22c0.02,0 0.05,0.001 0.091,0.002l0.001,1.287c0.219,-0.011 0.387,-0.065 0.504,-0.161c0.117,-0.097 0.175,-0.217 0.175,-0.361c-0,-0.107 -0.033,-0.199 -0.098,-0.275c-0.066,-0.076 -0.17,-0.136 -0.313,-0.18ZM27.627,37.016l-0.001,-0.964c-0.168,0.013 -0.294,0.05 -0.378,0.111c-0.131,0.093 -0.196,0.214 -0.196,0.363c0,0.134 0.053,0.247 0.157,0.339c0.104,0.091 0.244,0.142 0.418,0.151Z"
|
||||||
|
android:fillType="nonZero"/>
|
||||||
|
<path
|
||||||
|
android:fillColor="@android:color/black"
|
||||||
|
android:pathData="M28.084,34.259l0.043,-0.288c0.23,0.031 0.41,0.112 0.54,0.241c0.13,0.129 0.195,0.288 0.195,0.477c0,0.236 -0.089,0.426 -0.268,0.57c-0.179,0.144 -0.435,0.216 -0.769,0.216c-0.216,0 -0.405,-0.031 -0.567,-0.092c-0.161,-0.062 -0.283,-0.156 -0.364,-0.282c-0.081,-0.126 -0.122,-0.263 -0.122,-0.412c0,-0.187 0.055,-0.341 0.164,-0.46c0.11,-0.119 0.266,-0.196 0.468,-0.23l0.051,0.285c-0.134,0.027 -0.235,0.075 -0.303,0.144c-0.067,0.069 -0.101,0.152 -0.101,0.249c-0,0.148 0.061,0.268 0.184,0.36c0.122,0.092 0.316,0.137 0.581,0.137c0.268,-0 0.463,-0.045 0.585,-0.134c0.122,-0.089 0.182,-0.205 0.182,-0.348c0,-0.115 -0.041,-0.21 -0.122,-0.287c-0.082,-0.077 -0.208,-0.126 -0.377,-0.146Z"
|
||||||
|
android:fillType="nonZero"/>
|
||||||
|
<path
|
||||||
|
android:fillColor="@android:color/black"
|
||||||
|
android:pathData="M28.816,33.72l-2.76,0.002l-0,-0.292l0.99,-0.001c-0.183,-0.136 -0.275,-0.309 -0.275,-0.517c-0,-0.128 0.029,-0.239 0.087,-0.333c0.058,-0.094 0.139,-0.162 0.242,-0.203c0.102,-0.04 0.252,-0.061 0.448,-0.061l1.267,-0.001l-0,0.292l-1.267,0.002c-0.17,-0 -0.293,0.032 -0.37,0.095c-0.077,0.063 -0.116,0.153 -0.116,0.269c0.001,0.087 0.027,0.168 0.079,0.245c0.052,0.076 0.123,0.13 0.212,0.163c0.089,0.032 0.212,0.048 0.369,0.048l1.094,-0.001l-0,0.293Z"
|
||||||
|
android:fillType="nonZero"/>
|
||||||
|
<path
|
||||||
|
android:fillColor="#FF000000"
|
||||||
|
android:pathData="M27.844,29.206l0.092,-0.315c0.3,0.066 0.529,0.185 0.687,0.356c0.157,0.172 0.236,0.382 0.237,0.63c-0,0.257 -0.061,0.466 -0.182,0.627c-0.121,0.161 -0.296,0.283 -0.525,0.368c-0.23,0.084 -0.477,0.126 -0.74,0.126c-0.288,0.001 -0.538,-0.047 -0.752,-0.141c-0.214,-0.095 -0.377,-0.23 -0.488,-0.405c-0.112,-0.175 -0.167,-0.367 -0.167,-0.577c-0.001,-0.239 0.069,-0.439 0.21,-0.602c0.14,-0.163 0.338,-0.276 0.593,-0.34l0.085,0.31c-0.201,0.056 -0.347,0.136 -0.439,0.241c-0.091,0.105 -0.137,0.237 -0.137,0.397c0,0.183 0.051,0.336 0.153,0.459c0.102,0.123 0.238,0.209 0.41,0.259c0.171,0.05 0.348,0.074 0.53,0.074c0.234,-0 0.439,-0.03 0.614,-0.089c0.175,-0.059 0.306,-0.151 0.393,-0.276c0.086,-0.125 0.129,-0.26 0.129,-0.405c-0,-0.176 -0.059,-0.326 -0.177,-0.448c-0.118,-0.123 -0.294,-0.205 -0.526,-0.249Z"
|
||||||
|
android:fillType="nonZero"/>
|
||||||
|
<path
|
||||||
|
android:fillColor="@android:color/black"
|
||||||
|
android:pathData="M28.811,27.895l-2.434,0.002l0,0.786l-0.325,-0l-0.002,-1.889l0.326,-0l0,0.788l2.434,-0.002l0.001,0.315Z"
|
||||||
|
android:fillType="nonZero"/>
|
||||||
|
<path
|
||||||
|
android:fillColor="@android:color/black"
|
||||||
|
android:pathData="M27.982,26.833l-0.341,-0l-0.001,-0.899l0.341,-0l0.001,0.899Z"
|
||||||
|
android:fillType="nonZero"/>
|
||||||
|
<path
|
||||||
|
android:fillColor="#FF000000"
|
||||||
|
android:pathData="M28.808,24.589l0,0.292l-2.159,0.002c0.078,0.07 0.156,0.163 0.234,0.277c0.077,0.114 0.136,0.217 0.175,0.308l-0.328,0c-0.089,-0.163 -0.197,-0.306 -0.324,-0.429c-0.127,-0.122 -0.25,-0.209 -0.369,-0.259l-0,-0.189l2.771,-0.002Z"
|
||||||
|
android:fillType="nonZero"/>
|
||||||
|
<path
|
||||||
|
android:fillColor="@android:color/black"
|
||||||
|
android:pathData="M27.446,23.84c-0.326,0.001 -0.589,-0.028 -0.788,-0.086c-0.199,-0.058 -0.352,-0.144 -0.46,-0.258c-0.108,-0.114 -0.162,-0.258 -0.163,-0.431c0,-0.128 0.03,-0.241 0.09,-0.337c0.059,-0.097 0.145,-0.176 0.257,-0.239c0.113,-0.063 0.249,-0.113 0.411,-0.149c0.161,-0.035 0.378,-0.054 0.652,-0.054c0.324,-0 0.585,0.028 0.784,0.086c0.199,0.057 0.353,0.143 0.461,0.257c0.109,0.114 0.163,0.259 0.164,0.433c-0,0.23 -0.095,0.41 -0.286,0.542c-0.23,0.157 -0.604,0.236 -1.122,0.236ZM27.446,23.54c0.453,-0.001 0.754,-0.047 0.904,-0.139c0.15,-0.091 0.225,-0.204 0.225,-0.339c-0,-0.134 -0.075,-0.247 -0.226,-0.338c-0.151,-0.092 -0.452,-0.137 -0.904,-0.137c-0.454,0 -0.756,0.046 -0.905,0.138c-0.15,0.092 -0.224,0.206 -0.224,0.343c0,0.134 0.066,0.241 0.198,0.321c0.168,0.101 0.479,0.151 0.932,0.151Z"
|
||||||
|
android:fillType="nonZero"/>
|
||||||
|
<path
|
||||||
|
android:fillColor="@android:color/black"
|
||||||
|
android:pathData="M27.445,21.989c-0.327,0 -0.589,-0.029 -0.788,-0.087c-0.199,-0.057 -0.353,-0.143 -0.461,-0.258c-0.108,-0.114 -0.162,-0.258 -0.162,-0.431c-0,-0.128 0.029,-0.24 0.089,-0.337c0.059,-0.096 0.145,-0.176 0.258,-0.239c0.112,-0.063 0.249,-0.112 0.41,-0.148c0.161,-0.036 0.379,-0.054 0.652,-0.054c0.324,-0.001 0.585,0.028 0.784,0.085c0.199,0.057 0.353,0.143 0.462,0.257c0.108,0.115 0.163,0.259 0.163,0.433c0,0.23 -0.095,0.411 -0.286,0.542c-0.229,0.157 -0.603,0.236 -1.121,0.237ZM27.444,21.688c0.453,-0 0.755,-0.046 0.905,-0.138c0.15,-0.092 0.225,-0.205 0.224,-0.339c0,-0.135 -0.075,-0.248 -0.226,-0.339c-0.15,-0.091 -0.452,-0.137 -0.904,-0.137c-0.454,0.001 -0.756,0.047 -0.905,0.139c-0.149,0.091 -0.224,0.205 -0.224,0.342c0,0.134 0.066,0.242 0.198,0.322c0.169,0.1 0.479,0.15 0.932,0.15Z"
|
||||||
|
android:fillType="nonZero"/>
|
||||||
|
<path
|
||||||
|
android:fillColor="@android:color/black"
|
||||||
|
android:pathData="M27.307,19.687c-0.051,0.121 -0.125,0.211 -0.22,0.27c-0.095,0.059 -0.21,0.088 -0.343,0.088c-0.2,0 -0.369,-0.062 -0.506,-0.186c-0.137,-0.125 -0.206,-0.291 -0.206,-0.498c0,-0.208 0.07,-0.375 0.21,-0.502c0.14,-0.127 0.31,-0.191 0.511,-0.191c0.128,0 0.239,0.029 0.334,0.087c0.095,0.058 0.168,0.146 0.219,0.264c0.056,-0.147 0.145,-0.258 0.267,-0.334c0.123,-0.077 0.27,-0.115 0.441,-0.115c0.236,-0.001 0.434,0.071 0.595,0.215c0.161,0.144 0.241,0.334 0.241,0.569c0.001,0.235 -0.08,0.425 -0.241,0.569c-0.161,0.144 -0.362,0.217 -0.603,0.217c-0.18,0 -0.33,-0.039 -0.451,-0.118c-0.121,-0.078 -0.204,-0.19 -0.248,-0.335ZM26.733,19.746c0.13,-0 0.237,-0.037 0.32,-0.109c0.083,-0.073 0.124,-0.167 0.124,-0.283c-0,-0.113 -0.041,-0.205 -0.124,-0.277c-0.082,-0.072 -0.183,-0.108 -0.302,-0.108c-0.124,0 -0.229,0.037 -0.313,0.112c-0.085,0.074 -0.127,0.166 -0.127,0.277c-0,0.111 0.041,0.204 0.124,0.278c0.083,0.073 0.182,0.11 0.298,0.11ZM28.007,19.839c0.097,0 0.191,-0.02 0.281,-0.059c0.09,-0.04 0.16,-0.099 0.21,-0.177c0.049,-0.078 0.074,-0.162 0.074,-0.252c-0,-0.14 -0.052,-0.255 -0.157,-0.346c-0.104,-0.091 -0.236,-0.136 -0.397,-0.136c-0.163,-0 -0.298,0.047 -0.405,0.141c-0.106,0.093 -0.16,0.211 -0.159,0.352c-0,0.137 0.053,0.251 0.158,0.342c0.106,0.09 0.237,0.135 0.395,0.135Z"
|
||||||
|
android:fillType="nonZero"/>
|
||||||
|
</vector>
|
|
@ -109,6 +109,7 @@ data class GlucoseValue(
|
||||||
LIBRE_2_NATIVE("Libre2"),
|
LIBRE_2_NATIVE("Libre2"),
|
||||||
POCTECH_NATIVE("Poctech"),
|
POCTECH_NATIVE("Poctech"),
|
||||||
GLUNOVO_NATIVE("Glunovo"),
|
GLUNOVO_NATIVE("Glunovo"),
|
||||||
|
INTELLIGO_NATIVE("Intelligo"),
|
||||||
MM_600_SERIES("MM600Series"),
|
MM_600_SERIES("MM600Series"),
|
||||||
EVERSENSE("Eversense"),
|
EVERSENSE("Eversense"),
|
||||||
AIDEX("GlucoRx Aidex"),
|
AIDEX("GlucoRx Aidex"),
|
||||||
|
|
|
@ -149,6 +149,7 @@ data class UserEntry(
|
||||||
PocTech,
|
PocTech,
|
||||||
Tomato,
|
Tomato,
|
||||||
Glunovo,
|
Glunovo,
|
||||||
|
Intelligo,
|
||||||
Xdrip,
|
Xdrip,
|
||||||
LocalProfile, //From LocalProfile plugin
|
LocalProfile, //From LocalProfile plugin
|
||||||
Loop, //From Loop plugin
|
Loop, //From Loop plugin
|
||||||
|
|
Loading…
Reference in a new issue