Skip to content

About

Real-time location sharing and social connection Android app built with Kotlin, Supabase, Google Maps and Gemini AI.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

ย 

History

2 Commits

Folders and files

Repository files navigation

LiveConnect ๐Ÿ“

LiveConnect is an Android application for real-time location sharing, social connections, communication, safety alerts, travel tracking, geofencing, and AI-assisted interaction.

The application combines native Android development with Kotlin, Supabase, Google Maps, Room Database, Android Location Services, and Gemini AI.

โœจ Features

  • ๐Ÿ“ Real-time location tracking
  • ๐Ÿ—บ๏ธ Google Maps integration
  • ๐Ÿ‘ฅ Friend and social connection management
  • ๐Ÿ’ฌ Chat functionality
  • ๐Ÿšจ SOS and emergency alerts
  • ๐Ÿ“Œ Geofencing support
  • ๐Ÿงญ Travel and location timeline
  • ๐Ÿค– Gemini AI-powered assistant
  • ๐Ÿ’พ Local offline storage using Room Database
  • โ˜๏ธ Supabase cloud synchronization
  • ๐Ÿ”„ Local and cloud data synchronization
  • ๐Ÿ“ฑ Native Android application

๐Ÿ› ๏ธ Tech Stack

Android

  • Kotlin
  • Android SDK
  • Jetpack Compose
  • Android Location Services
  • Room Database
  • Gradle

Backend & Cloud

  • Supabase
  • REST API
  • Cloud synchronization

Maps & Location

  • Google Maps
  • Google Maps SDK
  • Android Geolocation APIs
  • Geofencing

Artificial Intelligence

  • Google Gemini API

Development Tools

  • Android Studio
  • Git
  • GitHub

๐Ÿ“‚ Project Structure

LiveConnect/
โ”œโ”€โ”€ app/
โ”‚   โ”œโ”€โ”€ src/
โ”‚   โ”‚   โ”œโ”€โ”€ androidTest/
โ”‚   โ”‚   โ”œโ”€โ”€ main/
โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ java/com/example/
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ data/
โ”‚   โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ local/
โ”‚   โ”‚   โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ remote/
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ location/
โ”‚   โ”‚   โ”‚   โ”‚   โ”œโ”€โ”€ repository/
โ”‚   โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ ui/
โ”‚   โ”‚   โ”‚   โ”‚       โ”œโ”€โ”€ components/
โ”‚   โ”‚   โ”‚   โ”‚       โ”œโ”€โ”€ screens/
โ”‚   โ”‚   โ”‚   โ”‚       โ”œโ”€โ”€ theme/
โ”‚   โ”‚   โ”‚   โ”‚       โ””โ”€โ”€ viewmodel/
โ”‚   โ”‚   โ”‚   โ””โ”€โ”€ res/
โ”‚   โ”‚   โ””โ”€โ”€ test/
โ”‚   โ””โ”€โ”€ build.gradle.kts
โ”œโ”€โ”€ gradle/
โ”œโ”€โ”€ build.gradle.kts
โ”œโ”€โ”€ gradle.properties
โ”œโ”€โ”€ gradlew
โ”œโ”€โ”€ gradlew.bat
โ””โ”€โ”€ settings.gradle.kts

๐Ÿš€ Getting Started

1. Clone the Repository

git clone https://github.com/Ashish45188/LiveConnect.git

2. Open the Project

Open the cloned project in Android Studio.

3. Configure API Keys

The repository does not contain real API keys or sensitive credentials.

Configure the required services locally.

Supabase

SUPABASE_URL=https://your-project.supabase.co
SUPABASE_ANON_KEY=YOUR_SUPABASE_ANON_KEY

Gemini AI

GEMINI_API_KEY=YOUR_GEMINI_API_KEY

Google Maps

MAPS_API_KEY=YOUR_GOOGLE_MAPS_API_KEY

Do not commit real API keys or credentials to GitHub.

4. Sync Gradle

Allow Android Studio to synchronize the Gradle project and download the required dependencies.

5. Connect an Android Device

Connect a physical Android device with USB debugging enabled or start an Android emulator.

6. Run the Application

Build and run the application using Android Studio.

๐Ÿ“ Location Tracking

LiveConnect uses Android location services for location-based functionality.

Location features include:

  • Real-time location sharing
  • Friend location visibility
  • Travel tracking
  • Location timeline
  • Geofencing
  • SOS-related location information
  • Map-based location visualization

Location permissions must be granted by the user for location-dependent features to work.

๐Ÿ’พ Local Database

LiveConnect uses Room Database for local data storage.

Local data models include:

  • Friend information
  • Chat messages
  • Geofence information
  • SOS alerts
  • Travel points
  • Synchronization data

The local database allows the application to maintain data locally while supporting cloud synchronization.

โ˜๏ธ Supabase Integration

Supabase is used for cloud data synchronization.

The application includes a dedicated synchronization layer for communicating with Supabase and synchronizing application data.

Supabase configuration is loaded through BuildConfig and local configuration instead of storing credentials directly in source code.

๐Ÿค– Gemini AI

LiveConnect integrates Google Gemini AI to provide an AI assistant experience inside the application.

The Gemini API key is loaded through local configuration and is not intended to be committed to the public repository.

๐Ÿ—บ๏ธ Google Maps

Google Maps is integrated for location visualization and map-based features.

The Maps API key is loaded through local configuration:

MAPS_API_KEY

For security, the actual API key should never be committed to GitHub.

๐Ÿšจ SOS & Safety

LiveConnect includes SOS and safety-related functionality designed to help users share location information during emergency situations.

The application supports:

  • SOS alerts
  • Location information associated with alerts
  • Geofence-based functionality
  • Emergency-related location visibility

๐Ÿ‘ฅ Friends & Social Connections

Users can manage connections and interact with friends through the application.

Social functionality includes:

  • Friend management
  • Friend location visibility
  • Chat
  • Real-time data synchronization

๐Ÿงญ Travel Timeline

The application maintains travel-related location information using locally stored travel points and synchronization with the cloud backend.

This allows location history and travel information to be represented through the application's timeline features.

๐Ÿ” Security

Sensitive configuration files are excluded from version control.

The project ignores files such as:

  • .env
  • .env.local
  • local.properties
  • google-services.json
  • Android build directories
  • .gradle
  • IDE configuration files
  • Keystore files
  • Node modules

Never commit:

  • API keys
  • Passwords
  • Private keys
  • Release signing credentials
  • Other sensitive credentials

๐Ÿงช Testing

The project contains unit tests and Android instrumented tests.

Test directories:

app/src/test/
app/src/androidTest/

๐Ÿ“ฑ Main Application Screens

LiveConnect includes screens and components for:

  • ๐Ÿ—บ๏ธ Map
  • ๐Ÿ‘ฅ Friends
  • ๐Ÿ’ฌ Chat
  • ๐Ÿค– AI Assistant
  • ๐Ÿงญ Timeline
  • ๐Ÿšจ Geofence & SOS
  • ๐Ÿ“ Location visualization

๐ŸŽฏ Project Goals

The main goals of LiveConnect are:

  1. Real-time location awareness
  2. Social connections
  3. Communication
  4. Personal safety
  5. Travel tracking
  6. Geofencing
  7. AI-assisted interaction
  8. Local and cloud data synchronization

๐Ÿ”ฎ Future Improvements

Potential future improvements include:

  • Enhanced real-time synchronization
  • Improved background location handling
  • Better offline support
  • Push notifications
  • Advanced friend-location controls
  • Detailed travel analytics
  • Enhanced SOS workflows
  • Additional AI-powered features
  • Improved privacy controls
  • Production deployment configuration

๐Ÿ‘จโ€๐Ÿ’ป Author

Ashish Mahadev Shedge

Software Engineer | Android & Full Stack Developer

GitHub: https://github.com/Ashish45188

๐Ÿ“„ License

This project is currently available for educational and portfolio purposes.


โญ If you find this project useful or interesting, consider giving the repository a star.

About

Real-time location sharing and social connection Android app built with Kotlin, Supabase, Google Maps and Gemini AI.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages