The Sleep Apnea Detection App is an Android application designed to monitor sleep health by detecting potential sleep apnea symptoms. It integrates Bluetooth Low Energy (BLE) to connect with an ESP32-based embedded system that collects SpO2 and BPM data. The app provides real-time monitoring, authentication, and local storage for a seamless user experience.
- Secure login and signup using Firebase Authentication.
- Ensures user data is protected and accessible across devices.
- Connects with an ESP32-based embedded system via Bluetooth Low Energy (BLE).
- Retrieves real-time SpO2 (oxygen saturation) and BPM (heart rate) data.
- Displays live health vitals on the screen.
- Stores collected data locally using SQLite, allowing users to access their history offline.
- Enables efficient data retrieval and analysis.
- Displays SpO2 and BPM trends over time using visual graphs.
- Helps users track their health progress.
- Simple and intuitive UI with Material Design for a seamless user experience.
- Easy BLE device scanning and connection for quick setup.
- Android (Java) – App development
- Firebase Authentication – Secure login and signup
- BLE (Bluetooth Low Energy) – Communication with ESP32
- SQLite – Local storage and offline access
- ESP32 – Embedded system for data collection
- Clone the repository:
git clone https://github.com/Goatonsteroid/Lifetune
- Open the project in Android Studio.
- Configure Firebase Authentication in the project.
- Flash the ESP32 firmware for BLE communication.
- Build and run the app on an Android device with BLE support.
- Implement cloud storage for long-term health tracking.
- Enhance AI-driven analysis for better sleep apnea detection.
- Add notifications and alerts for abnormal readings.






