Skip to content

Murags/MatatuGo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MatatuGo

MatatuGo is an Android mobile application designed to enhance the experience of using Matatus in Kenya. The app provides users with route planning, navigation, and relevant transport information to make commuting easier and more efficient.

Table of Contents


Project Overview

MatatuGo is built using Kotlin and follows modern Android development practices. The project leverages Android Jetpack components, MVVM architecture, and uses coroutines for asynchronous operations.

Key Features

  • Matatu information
  • Route planning and navigation
  • User-friendly interface
  • Integration with Android location services

Architecture

  • Language: Kotlin
  • Architecture Pattern: MVVM (Model-View-ViewModel)
  • UI: Android XML layouts
  • Asynchronous Operations: Kotlin Coroutines
  • Dependency Management: Gradle

Key Code and Components

  • app/src/main/java/: Contains all the source code for activities, view models, repositories, and utilities.
  • app/src/main/res/: Contains resources such as layouts, drawables, and values.
  • app/src/main/AndroidManifest.xml: App manifest file.
  • build.gradle.kts: Project and app-level Gradle build scripts.

Dependencies

The project uses several key dependencies (see build.gradle.kts for the full list):

  • AndroidX libraries (AppCompat, Lifecycle, Navigation)
  • Kotlin Standard Library
  • Material Components
  • Retrofit, Room, and other Jetpack libraries
  • Coroutine libraries for async operations

Coroutines Usage

What is a Coroutine? A coroutine is a concurrency design pattern in Kotlin that allows you to write asynchronous code in a sequential manner. Coroutines help manage background tasks such as network requests or database operations without blocking the main thread.

Are Coroutines Used in This Project? Yes. Coroutines are used for background operations.

Getting Started

  1. Clone the repository:
    git clone <repository-url>
    
  2. Open in Android Studio.
  3. Sync Gradle and build the project.
  4. Run the app on an emulator or physical device.

Build and Run

  • Use the provided gradlew or gradlew.bat scripts to build the project:
    ./gradlew assembleDebug
    
  • To install and run on a connected device:
    ./gradlew installDebug
    

Authors

Screenshots

  • Splash Screen

WhatsApp Image 2026-01-14 at 11 08 10

  • Home Page

WhatsApp Image 2026-01-14 at 11 10 45

  • Picking the best Route

WhatsApp Image 2026-01-14 at 11 10 46

  • Navigating to the Desired Location

WhatsApp Image 2026-01-14 at 11 10 47

  • No Route Found

WhatsApp Image 2026-01-14 at 11 10 43

  • Profile Page

WhatsApp Image 2026-01-14 at 11 10 49

  • App Icon

WhatsApp Image 2026-01-14 at 11 10 50

About

This is Android mobile app for Ma3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages