analytics-ufcg/melhorbusao-app

Name: melhorbusao-app

Owner: Laboratório Analytics

Description: null

Created: 2016-11-08 13:50:51.0

Updated: 2018-04-10 15:04:44.0

Pushed: 2018-04-10 15:04:42.0

Homepage: null

Size: 6553

Language: Java

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Melhor Busão

Melhor Busão is an app designed to simplify public transportation users daily life by providing them with information on buses routes, schedules, stops location/time and bus/trip evaluations.

Melhor Busão app can be downloaded here.

Features
Screenshots
Drawing Drawing Drawing Drawing Drawing Drawing Drawing Drawing Drawing Drawing Drawing Drawing Drawing
Build

This repo contains the official source code of Melhor Busão for Android.

Current app version is 1.1.

Steps on how to build Melhor Busão:

Melhor Busao - Overall Architecture

The architecture of Melhor Busão is composed of five components: Data Crawler, Static Data Processor, Dynamic Data Processor, Recommendation Service Mananger and Melhor Busao App.

Drawing
Data Crawler

The Data Crawler is composed of a web crawler that captures the data and sends them to the processor components. The data follows two streams: the first processes the static data and forwards it to the application; the second stream processes the dynamic data and the forwards it to the Recommendation Service Manager.

Static Data Processor
Drawing

After static data is acquired, it is cleaned, assembled and formatted. Then Melhor Busão database is created and its dump is uploaded to the cloud. When the application is launched for the first time, Melhor Busão database dump is downloaded to the device, according to user location.

Dynamic Data Processor
Recommendation Service Mananger

App Componentes

Login

![](./screenshots/03-App Components.png)

Login is done through the user?s Google account. The user activity detection is started when it moves, in order to figure out if it?s possible to be in a bus, if so, the app starts to record the route traveled (latitudes and longitudes). At the end of the route the app will, based on the stored information, try to guess which bus (route) the user was and provide an interface to evaluate the journey made (number of people on bus, conservation, driver, ...). After the user completes the evaluation, it is stored in the DB. An anonymous summary (Ranking of Buses) can be seen on the screen Top Bus, from the Recovery of the evaluations. The map of Nearby Stops can be viewed through the recovery of Near Stops. The map with the buses? routes can be viewed through the recovery of the shape of the routes.

Near Stops

Drawing

The user can choose between obtain near stops for your current location (determinated by GPS) or identify the desired location manualy. The app will search on database the near stops at that point and display them on the map to the user.

Route Shape

Drawing

The user can select the desired route. The Melhor Busão will fetch the route information, if it is valid, the shape of the route is showed on the map; if not, an error message appears.

Search Schedule

Drawing

The user can view the schedules planned for the buses that pass in its current location, you can identify the desired address or can directly select which route you want. The Melhor Busão will fetch the stops regarding that route, the use can select the desired stop and see the scheduled times the same.

Stop Schedule

Drawing

The Melhor Busão receives the information route is desired and search the scheduled times for the selected stop.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.