diff --git a/app/build.gradle b/app/build.gradle
index 3e29b13f..b3013cd9 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -92,4 +92,19 @@ dependencies {
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
+
+ //STONE-ADD
+ // GeoTools libraries
+ //implementation 'org.geotools:gt-referencing:28.0'
+ //implementation 'org.geotools:gt-geometry:28.0'
+
+ // JTS library for geometry operations
+ implementation 'org.locationtech.proj4j:proj4j:1.1.0'
+ //implementation 'org.apache.commons:commons-math3:3.6.1'
+
+ implementation 'org.ejml:ejml-simple:0.41'
+ //implementation 'org.osgeo:proj4j:1.1.0'
+
+
+
}
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 678711fd..c3d220d9 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -55,6 +55,8 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/app/src/main/res/layout/fragment_recording.xml b/app/src/main/res/layout/fragment_recording.xml
index c04381a5..4cf3bd20 100644
--- a/app/src/main/res/layout/fragment_recording.xml
+++ b/app/src/main/res/layout/fragment_recording.xml
@@ -37,37 +37,70 @@
android:layout_marginEnd="8dp" />
-
+
+ android:orientation="vertical"
+ android:gravity="center">
+
+
+
+
+
+
+
+ android:textColor="@color/md_theme_secondary"
+ android:textStyle="bold" />
+
+ android:textColor="@color/md_theme_error" />
+
+
@@ -79,7 +112,52 @@
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
app:layout_constraintTop_toBottomOf="@id/currentPositionCard"
- app:layout_constraintBottom_toTopOf="@id/controlLayout" />
+ app:layout_constraintBottom_toTopOf="@id/accuracyInfoCard" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+ android:padding="8dp">
+ android:text="@string/gnssSwitch"
+ app:trackTint="@color/blue_track"
+ app:thumbTint="@color/blue_thumb"/>
+ android:text="@string/wifiSwitch"
+ app:trackTint="@color/yellow_track"
+ app:thumbTint="@color/yellow_thumb" />
-
+
+
+ android:text="@string/auto_floor" />
+ app:layout_constraintTop_toTopOf="parent" />
@@ -94,6 +120,7 @@
app:layout_constraintBottom_toTopOf="@id/floorDownButton"
app:layout_constraintEnd_toEndOf="parent"
android:contentDescription="@string/floor_up" />
+
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index 3f28e98d..e64a7bf6 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -163,4 +163,14 @@
#DEE3E6
#D0D5D8
#C2C7CA
+
+ #a6d2f5
+ #f7db86
+ #ff968f
+ #BDBDBD
+
+ #1565C0
+ #FFA000
+ #D32F2F
+ #757575
\ No newline at end of file
diff --git a/app/src/main/res/values/googlemaps_api.xml b/app/src/main/res/values/googlemaps_api.xml
index 80672c61..f2c9785f 100644
--- a/app/src/main/res/values/googlemaps_api.xml
+++ b/app/src/main/res/values/googlemaps_api.xml
@@ -1,6 +1,6 @@
- AIzaSyAGqo26Wz1SUnGYP3TDDxLSDNK-EvHHtNc
+ AIzaSyCdMg4okcqLFtnDEp3ttw8g3oBgOh0ZlHU
\ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index a2fa6043..45b3c73d 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -3,7 +3,7 @@
Done
- Complete
+ Finish
Start
Live data
History
@@ -63,6 +63,7 @@
Constants
+ %1$s:%2$s
Recording in progress
Distance travelled:
Manual upload
@@ -86,6 +87,10 @@
The app will use the values provided below
User height (cm)
Step length (cm)
+
+ Enable fall detection
+ Fall detection is disabled
+ Fall detection is enabled
Edit the constants used
The app will use the default constants
@@ -114,8 +119,8 @@
Floor Down button
Floor Up button
Choose Map
- ❇️ Auto Floor
- GNSS error:
+ 🏢 Auto Floor
+ GNSS Error:\n
Satellite
Normal
Hybrid
@@ -130,11 +135,19 @@
Correct your own avg step length:
...
Path drawing
- Position Me
+ PositionMe
GNSS is disabled
Restart
Play
End
Exit
-
+ 🛜 Show WiFi
+ Wifi Error:\n
+ 👟 Show PDR
+ Add Tag
+ Tag added at current position
+ EKF Accuracy: %.2fm
+ Particle Accuracy: %.2fm
+ Maximum allowable GNSS error
+ GNSS readings with error higher than this value (in meters) will be ignored
\ No newline at end of file
diff --git a/app/src/main/res/xml/root_preferences.xml b/app/src/main/res/xml/root_preferences.xml
index 65793d88..f1042ec3 100644
--- a/app/src/main/res/xml/root_preferences.xml
+++ b/app/src/main/res/xml/root_preferences.xml
@@ -49,6 +49,13 @@
app:defaultValue="75"
android:max="150"
android:min="50"/>
+
+
@@ -127,6 +134,14 @@
app:dependency="overwrite_constants"
app:defaultValue="5"
android:summary="@string/wifi_scan_interval" />
+
+
diff --git a/build.gradle b/build.gradle
index e208c000..c37ec60e 100644
--- a/build.gradle
+++ b/build.gradle
@@ -6,7 +6,7 @@ buildscript {
}
dependencies {
// NOTE: Only classpath deps (plugins) go here
- classpath 'com.android.tools.build:gradle:8.8.0'
+ classpath 'com.android.tools.build:gradle:8.7.2'
classpath 'com.google.gms:google-services:4.4.2'
def nav_version = "2.5.3"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"