This app is built for the purpose of collecting road driving data from drivers. It was built as part of a PhD research project for to collect data from drivers in Nigeria. It uses mobile phone sensors to collect telematic data such as acceleration, speed, address etc.
# TelmaticApp
This app is built for the purpose of collecting road driving data from drivers. It was built as part of a PhD research project for to collect data from drivers in Nigeria. It uses mobile phone sensors to collect telematic data such as acceleration, speed, address etc.
# TelmaticsApp Code Documentation
## Overview
This repository contains the source code for the TelmaticsApp, a mobile application designed to collect real-time driving data using mobile phone sensors. The app collects data at the rate of 200Hz per second and is designed to be used by drivers. This readme file provides an overview of the codebase, its structure, and instructions for using and running the code.
## App Screenshots
Screenshots of the App are in the Images folder
## Code Structure
The TelmaticsApp codebase is organized into several packages, each serving a specific purpose:
### `api`
- This package is expected to contain services that query external databases, but it's not yet fully implemented in the current version of the code.
### `db`
The current version of the app only have a local database created and managed on the phone, the database settup and other related data are in this package. It
- Contains Data Access Objects (DAO) and defines the database schema.
- Which Includes the following DAOs:
- DeviceDAO
- LastKnownPointDAO
- LawEstablishedDAO
- LoginAPIResponseDAO
- PointDAO
- SensorDataDAO
- TrackDAO
- TripDetailsDAO
- UserAPIResponseDAO
- These DAOs are organized in a subpackage called `DataAccessObjects`.
- The package also holds data model definitions for the above data access objects.
### `repository`
- Defines data access points across the application.
- This package plays a pivotal role in handling data interactions and repositories.
### `services`
- Contains the logic for handling sensors and location services.
- This is where data collection and sensor-related functionalities are implemented.
### `utility`
- Includes the `Resource` file, which tracks …