diff --git a/app/schemas/com.rtbishop.look4sat.framework.local.SatelliteDb/2.json b/app/schemas/com.rtbishop.look4sat.framework.local.SatelliteDb/2.json new file mode 100644 index 00000000..f23c6ef8 --- /dev/null +++ b/app/schemas/com.rtbishop.look4sat.framework.local.SatelliteDb/2.json @@ -0,0 +1,134 @@ +{ + "formatVersion": 1, + "database": { + "version": 2, + "identityHash": "555494c464b5a29285eb5493cc8aa5f6", + "entities": [ + { + "tableName": "entries", + "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`tle` TEXT NOT NULL, `catNum` INTEGER NOT NULL, `name` TEXT NOT NULL, `isSelected` INTEGER NOT NULL, PRIMARY KEY(`catNum`))", + "fields": [ + { + "fieldPath": "tle", + "columnName": "tle", + "affinity": "TEXT", + "notNull": true + }, + { + "fieldPath": "catNum", + "columnName": "catNum", + "affinity": "INTEGER", + "notNull": true + }, + { + "fieldPath": "name", + "columnName": "name", + "affinity": "TEXT", + "notNull": true + }, + { + "fieldPath": "isSelected", + "columnName": "isSelected", + "affinity": "INTEGER", + "notNull": true + } + ], + "primaryKey": { + "columnNames": [ + "catNum" + ], + "autoGenerate": false + }, + "indices": [], + "foreignKeys": [] + }, + { + "tableName": "transmitters", + "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`uuid` TEXT NOT NULL, `info` TEXT NOT NULL, `isAlive` INTEGER NOT NULL, `downlink` INTEGER, `uplink` INTEGER, `mode` TEXT, `isInverted` INTEGER NOT NULL, `catNum` INTEGER, PRIMARY KEY(`uuid`))", + "fields": [ + { + "fieldPath": "uuid", + "columnName": "uuid", + "affinity": "TEXT", + "notNull": true + }, + { + "fieldPath": "info", + "columnName": "info", + "affinity": "TEXT", + "notNull": true + }, + { + "fieldPath": "isAlive", + "columnName": "isAlive", + "affinity": "INTEGER", + "notNull": true + }, + { + "fieldPath": "downlink", + "columnName": "downlink", + "affinity": "INTEGER", + "notNull": false + }, + { + "fieldPath": "uplink", + "columnName": "uplink", + "affinity": "INTEGER", + "notNull": false + }, + { + "fieldPath": "mode", + "columnName": "mode", + "affinity": "TEXT", + "notNull": false + }, + { + "fieldPath": "isInverted", + "columnName": "isInverted", + "affinity": "INTEGER", + "notNull": true + }, + { + "fieldPath": "catNum", + "columnName": "catNum", + "affinity": "INTEGER", + "notNull": false + } + ], + "primaryKey": { + "columnNames": [ + "uuid" + ], + "autoGenerate": false + }, + "indices": [], + "foreignKeys": [] + }, + { + "tableName": "sources", + "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`sourceUrl` TEXT NOT NULL, PRIMARY KEY(`sourceUrl`))", + "fields": [ + { + "fieldPath": "sourceUrl", + "columnName": "sourceUrl", + "affinity": "TEXT", + "notNull": true + } + ], + "primaryKey": { + "columnNames": [ + "sourceUrl" + ], + "autoGenerate": false + }, + "indices": [], + "foreignKeys": [] + } + ], + "views": [], + "setupQueries": [ + "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", + "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '555494c464b5a29285eb5493cc8aa5f6')" + ] + } +} \ No newline at end of file diff --git a/app/schemas/com.rtbishop.look4sat.framework.local.SatelliteDb/3.json b/app/schemas/com.rtbishop.look4sat.framework.local.SatelliteDb/3.json new file mode 100644 index 00000000..1ffc1e01 --- /dev/null +++ b/app/schemas/com.rtbishop.look4sat.framework.local.SatelliteDb/3.json @@ -0,0 +1,134 @@ +{ + "formatVersion": 1, + "database": { + "version": 3, + "identityHash": "555494c464b5a29285eb5493cc8aa5f6", + "entities": [ + { + "tableName": "entries", + "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`tle` TEXT NOT NULL, `catNum` INTEGER NOT NULL, `name` TEXT NOT NULL, `isSelected` INTEGER NOT NULL, PRIMARY KEY(`catNum`))", + "fields": [ + { + "fieldPath": "tle", + "columnName": "tle", + "affinity": "TEXT", + "notNull": true + }, + { + "fieldPath": "catNum", + "columnName": "catNum", + "affinity": "INTEGER", + "notNull": true + }, + { + "fieldPath": "name", + "columnName": "name", + "affinity": "TEXT", + "notNull": true + }, + { + "fieldPath": "isSelected", + "columnName": "isSelected", + "affinity": "INTEGER", + "notNull": true + } + ], + "primaryKey": { + "columnNames": [ + "catNum" + ], + "autoGenerate": false + }, + "indices": [], + "foreignKeys": [] + }, + { + "tableName": "transmitters", + "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`uuid` TEXT NOT NULL, `info` TEXT NOT NULL, `isAlive` INTEGER NOT NULL, `downlink` INTEGER, `uplink` INTEGER, `mode` TEXT, `isInverted` INTEGER NOT NULL, `catNum` INTEGER, PRIMARY KEY(`uuid`))", + "fields": [ + { + "fieldPath": "uuid", + "columnName": "uuid", + "affinity": "TEXT", + "notNull": true + }, + { + "fieldPath": "info", + "columnName": "info", + "affinity": "TEXT", + "notNull": true + }, + { + "fieldPath": "isAlive", + "columnName": "isAlive", + "affinity": "INTEGER", + "notNull": true + }, + { + "fieldPath": "downlink", + "columnName": "downlink", + "affinity": "INTEGER", + "notNull": false + }, + { + "fieldPath": "uplink", + "columnName": "uplink", + "affinity": "INTEGER", + "notNull": false + }, + { + "fieldPath": "mode", + "columnName": "mode", + "affinity": "TEXT", + "notNull": false + }, + { + "fieldPath": "isInverted", + "columnName": "isInverted", + "affinity": "INTEGER", + "notNull": true + }, + { + "fieldPath": "catNum", + "columnName": "catNum", + "affinity": "INTEGER", + "notNull": false + } + ], + "primaryKey": { + "columnNames": [ + "uuid" + ], + "autoGenerate": false + }, + "indices": [], + "foreignKeys": [] + }, + { + "tableName": "sources", + "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`sourceUrl` TEXT NOT NULL, PRIMARY KEY(`sourceUrl`))", + "fields": [ + { + "fieldPath": "sourceUrl", + "columnName": "sourceUrl", + "affinity": "TEXT", + "notNull": true + } + ], + "primaryKey": { + "columnNames": [ + "sourceUrl" + ], + "autoGenerate": false + }, + "indices": [], + "foreignKeys": [] + } + ], + "views": [], + "setupQueries": [ + "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", + "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '555494c464b5a29285eb5493cc8aa5f6')" + ] + } +} \ No newline at end of file diff --git a/app/schemas/com.rtbishop.look4sat.framework.local.SatelliteDb/4.json b/app/schemas/com.rtbishop.look4sat.framework.local.SatelliteDb/4.json new file mode 100644 index 00000000..aaf56936 --- /dev/null +++ b/app/schemas/com.rtbishop.look4sat.framework.local.SatelliteDb/4.json @@ -0,0 +1,212 @@ +{ + "formatVersion": 1, + "database": { + "version": 4, + "identityHash": "0f08defa24a78647801005e9277faac7", + "entities": [ + { + "tableName": "entries", + "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`isSelected` INTEGER NOT NULL, `name` TEXT NOT NULL, `epoch` REAL NOT NULL, `meanmo` REAL NOT NULL, `eccn` REAL NOT NULL, `incl` REAL NOT NULL, `raan` REAL NOT NULL, `argper` REAL NOT NULL, `meanan` REAL NOT NULL, `catnum` INTEGER NOT NULL, `bstar` REAL NOT NULL, `xincl` REAL NOT NULL, `xnodeo` REAL NOT NULL, `omegao` REAL NOT NULL, `xmo` REAL NOT NULL, `xno` REAL NOT NULL, `isDeepspace` INTEGER NOT NULL, PRIMARY KEY(`catnum`))", + "fields": [ + { + "fieldPath": "isSelected", + "columnName": "isSelected", + "affinity": "INTEGER", + "notNull": true + }, + { + "fieldPath": "tle.name", + "columnName": "name", + "affinity": "TEXT", + "notNull": true + }, + { + "fieldPath": "tle.epoch", + "columnName": "epoch", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.meanmo", + "columnName": "meanmo", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.eccn", + "columnName": "eccn", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.incl", + "columnName": "incl", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.raan", + "columnName": "raan", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.argper", + "columnName": "argper", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.meanan", + "columnName": "meanan", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.catnum", + "columnName": "catnum", + "affinity": "INTEGER", + "notNull": true + }, + { + "fieldPath": "tle.bstar", + "columnName": "bstar", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.xincl", + "columnName": "xincl", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.xnodeo", + "columnName": "xnodeo", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.omegao", + "columnName": "omegao", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.xmo", + "columnName": "xmo", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.xno", + "columnName": "xno", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.isDeepspace", + "columnName": "isDeepspace", + "affinity": "INTEGER", + "notNull": true + } + ], + "primaryKey": { + "columnNames": [ + "catnum" + ], + "autoGenerate": false + }, + "indices": [], + "foreignKeys": [] + }, + { + "tableName": "transmitters", + "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`uuid` TEXT NOT NULL, `info` TEXT NOT NULL, `isAlive` INTEGER NOT NULL, `downlink` INTEGER, `uplink` INTEGER, `mode` TEXT, `isInverted` INTEGER NOT NULL, `catnum` INTEGER, PRIMARY KEY(`uuid`))", + "fields": [ + { + "fieldPath": "uuid", + "columnName": "uuid", + "affinity": "TEXT", + "notNull": true + }, + { + "fieldPath": "info", + "columnName": "info", + "affinity": "TEXT", + "notNull": true + }, + { + "fieldPath": "isAlive", + "columnName": "isAlive", + "affinity": "INTEGER", + "notNull": true + }, + { + "fieldPath": "downlink", + "columnName": "downlink", + "affinity": "INTEGER", + "notNull": false + }, + { + "fieldPath": "uplink", + "columnName": "uplink", + "affinity": "INTEGER", + "notNull": false + }, + { + "fieldPath": "mode", + "columnName": "mode", + "affinity": "TEXT", + "notNull": false + }, + { + "fieldPath": "isInverted", + "columnName": "isInverted", + "affinity": "INTEGER", + "notNull": true + }, + { + "fieldPath": "catnum", + "columnName": "catnum", + "affinity": "INTEGER", + "notNull": false + } + ], + "primaryKey": { + "columnNames": [ + "uuid" + ], + "autoGenerate": false + }, + "indices": [], + "foreignKeys": [] + }, + { + "tableName": "sources", + "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`sourceUrl` TEXT NOT NULL, PRIMARY KEY(`sourceUrl`))", + "fields": [ + { + "fieldPath": "sourceUrl", + "columnName": "sourceUrl", + "affinity": "TEXT", + "notNull": true + } + ], + "primaryKey": { + "columnNames": [ + "sourceUrl" + ], + "autoGenerate": false + }, + "indices": [], + "foreignKeys": [] + } + ], + "views": [], + "setupQueries": [ + "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", + "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '0f08defa24a78647801005e9277faac7')" + ] + } +} \ No newline at end of file diff --git a/app/schemas/com.rtbishop.look4sat.framework.local.SatelliteDb/5.json b/app/schemas/com.rtbishop.look4sat.framework.local.SatelliteDb/5.json new file mode 100644 index 00000000..68aa4bc7 --- /dev/null +++ b/app/schemas/com.rtbishop.look4sat.framework.local.SatelliteDb/5.json @@ -0,0 +1,192 @@ +{ + "formatVersion": 1, + "database": { + "version": 5, + "identityHash": "0b523e732e116bbdcccd8188922898e2", + "entities": [ + { + "tableName": "entries", + "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`isSelected` INTEGER NOT NULL, `name` TEXT NOT NULL, `epoch` REAL NOT NULL, `meanmo` REAL NOT NULL, `eccn` REAL NOT NULL, `incl` REAL NOT NULL, `raan` REAL NOT NULL, `argper` REAL NOT NULL, `meanan` REAL NOT NULL, `catnum` INTEGER NOT NULL, `bstar` REAL NOT NULL, `xincl` REAL NOT NULL, `xnodeo` REAL NOT NULL, `omegao` REAL NOT NULL, `xmo` REAL NOT NULL, `xno` REAL NOT NULL, `isDeepspace` INTEGER NOT NULL, PRIMARY KEY(`catnum`))", + "fields": [ + { + "fieldPath": "isSelected", + "columnName": "isSelected", + "affinity": "INTEGER", + "notNull": true + }, + { + "fieldPath": "tle.name", + "columnName": "name", + "affinity": "TEXT", + "notNull": true + }, + { + "fieldPath": "tle.epoch", + "columnName": "epoch", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.meanmo", + "columnName": "meanmo", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.eccn", + "columnName": "eccn", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.incl", + "columnName": "incl", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.raan", + "columnName": "raan", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.argper", + "columnName": "argper", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.meanan", + "columnName": "meanan", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.catnum", + "columnName": "catnum", + "affinity": "INTEGER", + "notNull": true + }, + { + "fieldPath": "tle.bstar", + "columnName": "bstar", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.xincl", + "columnName": "xincl", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.xnodeo", + "columnName": "xnodeo", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.omegao", + "columnName": "omegao", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.xmo", + "columnName": "xmo", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.xno", + "columnName": "xno", + "affinity": "REAL", + "notNull": true + }, + { + "fieldPath": "tle.isDeepspace", + "columnName": "isDeepspace", + "affinity": "INTEGER", + "notNull": true + } + ], + "primaryKey": { + "columnNames": [ + "catnum" + ], + "autoGenerate": false + }, + "indices": [], + "foreignKeys": [] + }, + { + "tableName": "transmitters", + "createSql": "CREATE TABLE IF NOT EXISTS `${TABLE_NAME}` (`uuid` TEXT NOT NULL, `info` TEXT NOT NULL, `isAlive` INTEGER NOT NULL, `downlink` INTEGER, `uplink` INTEGER, `mode` TEXT, `isInverted` INTEGER NOT NULL, `catnum` INTEGER, PRIMARY KEY(`uuid`))", + "fields": [ + { + "fieldPath": "uuid", + "columnName": "uuid", + "affinity": "TEXT", + "notNull": true + }, + { + "fieldPath": "info", + "columnName": "info", + "affinity": "TEXT", + "notNull": true + }, + { + "fieldPath": "isAlive", + "columnName": "isAlive", + "affinity": "INTEGER", + "notNull": true + }, + { + "fieldPath": "downlink", + "columnName": "downlink", + "affinity": "INTEGER", + "notNull": false + }, + { + "fieldPath": "uplink", + "columnName": "uplink", + "affinity": "INTEGER", + "notNull": false + }, + { + "fieldPath": "mode", + "columnName": "mode", + "affinity": "TEXT", + "notNull": false + }, + { + "fieldPath": "isInverted", + "columnName": "isInverted", + "affinity": "INTEGER", + "notNull": true + }, + { + "fieldPath": "catnum", + "columnName": "catnum", + "affinity": "INTEGER", + "notNull": false + } + ], + "primaryKey": { + "columnNames": [ + "uuid" + ], + "autoGenerate": false + }, + "indices": [], + "foreignKeys": [] + } + ], + "views": [], + "setupQueries": [ + "CREATE TABLE IF NOT EXISTS room_master_table (id INTEGER PRIMARY KEY,identity_hash TEXT)", + "INSERT OR REPLACE INTO room_master_table (id,identity_hash) VALUES(42, '0b523e732e116bbdcccd8188922898e2')" + ] + } +} \ No newline at end of file diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 0daf768f..36a69809 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -10,6 +10,7 @@ android:name=".presentation.Look4SatApplication" android:allowBackup="false" android:icon="@mipmap/ic_launcher" + android:roundIcon="@mipmap/ic_launcher_round" android:label="@string/app_name" android:theme="@style/Theme.Look4Sat.Main"> #FFE082 - #D0D0D0 + #D6FFFFFF + #99FFFFFF + #5CFFFFFF + #121212 + #404040 + #383838 + #303030 #242424 - #1A1A1A #202020 - #181818 + #1A1A1A + #1A1A1A #121212 #B3181818 @color/surfaceButton diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index 99b8b19e..2625e4bb 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -11,10 +11,11 @@ @color/themeAccent @color/themeAccent @color/themeAccent + @color/themeLight @color/themeLight - @color/surfaceStatusbar + @color/surfaceSystem @color/surfaceBg - @color/surfaceStatusbar + @color/surfaceSystem false diff --git a/build.gradle b/build.gradle index 2e9969c1..7e1d6b43 100644 --- a/build.gradle +++ b/build.gradle @@ -4,7 +4,7 @@ buildscript { kotlin_version = '1.6.10' coroutines_version = '1.6.0-native-mt' splash_screen_version = '1.0.0-alpha01' - constraint_layout_version = '2.1.2' + constraint_layout_version = '2.1.3' lifecycle_version = '2.4.0' navigation_version = '2.3.5' preference_version = '1.1.1'