Inspiration
The idea for SafeWay came from the growing need for personal safety solutions that work even without internet connectivity. Many existing safety apps depend on cloud connectivity, but during emergencies like natural disasters or network failures, users are left vulnerable. We wanted to create a system that ensures safety and communication both offline and online, making every smartphone a personal safety hub.
What it does
SafeWay keeps users safe in both connected and disconnected environments. Offline: Uses GPS, Bluetooth, and Wi-Fi Direct to send emergency alerts, create peer-to-peer safety networks, and guide users to safe locations such as hospitals or police stations. Online: Offers real-time alerts, AI-powered route safety, and 3D/4D maps that visualize surroundings, highlight risk zones, and track changing safety conditions. AI Safety Engine: Evaluates route safety even without the internet using on-device machine learning.
How we built it
We developed SafeWay using: Languages: Kotlin, Java, Python, JavaScript Architecture: MVVM pattern for modularity and scalability APIs & Services: Google Maps API, Firebase Cloud Messaging, and local Bluetooth/Wi-Fi Direct protocols AI Module: Implemented in Python and converted to TensorFlow Lite for offline predictions Database: SQLite for offline data and Firebase for cloud sync Challenges we ran into Ensuring offline functionality while maintaining synchronization once the device reconnects. Managing low-power communication through Bluetooth and Wi-Fi Direct during emergencies. Training an AI model that could make reliable safety predictions with limited on-device data. Maintaining user privacy and encryption without sacrificing responsiveness. Accomplishments that we're proud of Built a functional prototype that operates fully without internet. Integrated AI-based safety route recommendations. Created a secure and encrypted communication system. Designed a user-friendly interface adaptable to both emergency and everyday use.
What we learned
How to design for offline-first architecture. Integrating AI and mobile systems efficiently. The importance of data privacy, battery optimization, and low-latency communication. Team coordination, agile development, and cloud-device synchronization.
What's next for SafeWay
Launching iOS and wearable versions for broader accessibility. Expanding AI training datasets to include environmental and behavioral data. Partnering with local authorities for verified emergency support. Adding voice-activated SOS, biometric alerts, and cross-border safety networks.
Log in or sign up for Devpost to join the conversation.