diff --git a/README.md b/README.md index c4a9f02d..310eaf23 100644 --- a/README.md +++ b/README.md @@ -1,45 +1,32 @@ -**PositionMe** is an indoor positioning data collection application initially developed for the University of Edinburgh's Embedded Wireless course. The application now includes enhanced features, including **trajectory playback**, improved UI design, and comprehensive location tracking. - -## Features - -- **Real-time Sensor Data Collection**: Captures sensor, location, and GNSS data. -- **Trajectory Playback**: Simulates recorded movement from previously saved trajectory files (Trajectory proto files). -- **Interactive Map Display**: - - Visualizes the user's **PDR trajectory/path**. - - Displays **received GNSS locations**. - - Supports **floor changes and indoor maps** for a seamless experience. -- **Playback Controls**: - - **Play/Pause, Exit, Restart, Jump to End**. - - **Progress bar for tracking playback status**. -- **Redesigned UI**: Modern and user-friendly interface for enhanced usability. +# PositionMe +Indoor poistioning data collection application created for the University of Edinburgh's Embedded Wireless course. ## Requirements -- **Android Studio 4.2** or later -- **Android SDK 30** or later +- Android Studio 4.2 or later +- Android SDK 30 or later ## Installation -1. **Clone the repository.** -2. **Open the project in Android Studio**. +1. Clone the repository. +2. Open the project in Android Studio. 3. Add your own API key for Google Maps in AndroidManifest.xml -4. Set the website where you want to send your data. The application was built for use with [openpositioning.org](http://openpositioning.org/). -5. **Build and run the project on your Android device**. +4. Set the website where you want to send your data. The application was built for use with openpositioning.org. +5. Build and run the project on your device. ## Usage -1. **Install the application** using Android Studio. -2. **Launch the application** on your Android device. -3. **Grant necessary permissions** when prompted: - - Sensor access - - Location services - - Internet connectivity -4. **Collect real-time positioning data**: - - Follow on-screen instructions to record sensor data. -5. **Replay previously recorded trajectories**: - - Navigate to the **Files** section. - - Select a saved trajectory and press **Play**. - - The recorded trajectory will be simulated and displayed on the map. -6. **Control playback**: - - Pause, restart, or jump to the end using playback controls. +1. Install the application on a compatible device using Android Studio. +2. Launch the application on your device. +3. Allow sensor, location and internet permissions when asked. +4. Follow the instructions on the screen to start collecting sensor data. + +## Creators + +### Original contributors ([CloudWalk](https://github.com/openpositioning/DataCollectionTeam6)) +- Virginia Cangelosi (virginia-cangelosi) +- Michal Dvorak (dvoramicha) +- Mate Stodulka (stodimp) +### New contributors +- Francisco Zampella (fzampella-huawei) diff --git a/build.gradle b/build.gradle index e208c000..75e83f6a 100644 --- a/build.gradle +++ b/build.gradle @@ -1,13 +1,14 @@ -// Top-level build file +// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { repositories { google() mavenCentral() } dependencies { - // NOTE: Only classpath deps (plugins) go here - classpath 'com.android.tools.build:gradle:8.8.0' - classpath 'com.google.gms:google-services:4.4.2' +// classpath "com.android.tools.build:gradle:7.0.4" + //classpath 'com.google.gms:google-services:4.3.15' + classpath "com.android.tools.build:gradle:8.7.2"//for Android studio Ladybug.2024.2.1 Patch1 + classpath 'com.google.gms:google-services:4.3.3' def nav_version = "2.5.3" classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version" classpath "com.google.android.libraries.mapsplatform.secrets-gradle-plugin:secrets-gradle-plugin:2.0.1" diff --git a/local.properties b/local.properties new file mode 100644 index 00000000..3f62c98f --- /dev/null +++ b/local.properties @@ -0,0 +1,8 @@ +## This file must *NOT* be checked into Version Control Systems, +# as it contains information specific to your local configuration. +# +# Location of the SDK. This is only used by Gradle. +# For customization when using a Version Control System, please read the +# header note. +#Wed Apr 02 22:02:19 BST 2025 +sdk.dir=C\:\\Users\\86189\\AppData\\Local\\Android\\Sdk diff --git a/secrets.properties b/secrets.properties index f0dc54fd..04d79022 100644 --- a/secrets.properties +++ b/secrets.properties @@ -1,6 +1,6 @@ # # Modify the variables to set your keys # -MAPS_API_KEY= -OPENPOSITIONING_API_KEY= -OPENPOSITIONING_MASTER_KEY= +APS_API_KEY=AIzaSyASQAn8CtCBmVc4rhhipmrVg-giC9Kf9P0 +OPENPOSITIONING_API_KEY=rR6xYfpNdQMU-edu9wAt0g +OPENPOSITIONING_MASTER_KEY=ewireless \ No newline at end of file