Updated WebApiConnection to use callbacks rather than interfaces, moved the shared preference handling code into SdServer so it is all together. Updated the various activities to use the single instance of LogManager and WebApiConnection in SdServer rather than creating new instances which are likely to resuld in duplicate data being uploaded.

This commit is contained in:
Graham Jones
2022-01-23 22:13:38 +00:00
parent 4d1c217109
commit bdd7b49358
26 changed files with 278 additions and 520 deletions

View File

@@ -40,7 +40,7 @@
<activity android:name=".AuthenticateActivity"></activity>
<!-- @android:style/Theme.Holo.Light" -->
<activity android:name=".BLEScanActivity" />
<activity android:name=".DBQueryActivity" /> <!-- android:usesCleartextTraffic="true" -->
<activity android:name=".ExportDataActivity" /> <!-- android:usesCleartextTraffic="true" -->
<activity android:name=".StartupActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />