LifeSaver is a mobile application built with Flutter that provides real-time first aid guidance and emergency support. The application allows users to manage their medical profiles, receive step-by-step help during medical emergencies, and interact with connected first aid devices.
The user can create a personal profile that stores essential medical data such as allergies, medications, medical history, and emergency contacts. This data is saved in a MySQL database and accessed via a custom Python-based API. The application adjusts the presentation of information based on the user’s experience level to make emergency instructions more accessible and easier to follow.
The application includes AR functionality to assist users during emergency procedures. Through AR overlays, users receive visual guidance on how to perform actions such as CPR, treating wounds, and handling burns. This feature is implemented using available AR packages in Flutter, providing an interactive layer on top of the textual instructions.
A basic gamification system is implemented to encourage users to engage with the educational content. Users earn points after completing training modules, which are tracked locally within the app interface.
To enhance interactivity with physical devices, the app supports Bluetooth connectivity. It can detect compatible medical equipment such as defibrillators and provides device-specific instructions once a connection is established. In cases where the user needs help quickly, the app includes a call functionality that allows direct phone calls to emergency contacts.
The app is functional offline. All essential first aid instructions and user data can be accessed without an internet connection, as core content is preloaded with the app.
- Clone the repository:
git clone https://github.com/elisavetpapadopoulou/Life-Saver-App.git- Database setup:
Install a SQL server (e.g. MySQL via XAMPP) and run the following SQL files in the MySQL terminal:
SOURCE my_flutter_project/Delete_database.sql;
SOURCE my_flutter_project/lifesaver_create_database.sql;- Install dependencies:
Ensure you have Python and Flutter installed. Then install the required Python package:
pip install mysql-connector-python- Run the backend services:
python my_flutter_project/database_connection.py
python my_flutter_project/api.py- Install the APK (for Android devices):
The compiled APK is located at:
my_flutter_project/build/app/outputs/flutter-apk/app-debug.apk
Transfer this file to your Android device and install it. The device must support Bluetooth and phone call functionality.
- To run the app from source:
flutter pub get
flutter run lib/main.dart