Skip to content

AugustanaCSC490Spring2018/DispatchAcesOldAndroidVersion

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DispatchAces

About

This application was designed for an ACES dispatcher and driver to utilize while accepting rides from Augustana College students using the ACES service. This is meant to replace the phone call that was previously required for students to request rides and for ACES to accept rides. The dispatcher is able to edit the wait time on a given ride and then send that ride through to the driver. This acts as a notification for the rider as their ride request screen will be updated with the new wait time and they will be given an ETA. Previously, there was no fluid method of communication between the two parties after the ride had been requested.

How it works

OVERALL PROCESS:

The dispatcher and driver will need to sign in using authenticated email accounts. Once they are signed in, there will be two views--one list of pending ride and one list of active rides. The dispatcher can send rides from pending to active, and the driver can clear out those active rides once he completes them. There will also be a button at the top of the screen for turning ACES on and off. One of the workers can turn this off at the end of the day and on at the start of the day, to indicate that ACES is accepting rides.

IN THE BACKGROUND:

The pending and active ride lists displayed in the interface pull data from a firebase database that will be updated in realtime. Whenever a user requests a ride and sends an entry to the database, the dispatch app realizes this change and updates the list display to show the new ride(s) requested. When the dispatcher clicks "Send" for a pending ride, the ride is deleted from the pending rides node in the database and moved to an active rides node. When the driver clicks "Clear" for a previously active ride, the ride is deleted from the active rides node and sent to the archived rides node. This archived rides node will be used by ACES for analyzing ride data and improving their services.

Testing

We tested our application on a few different devices. We used emulators, Tablets running API 20, Tablet running API 23, and a phone running the most recent version.

1.) The dispatcher accepts a ride -- enters a wait time and sends the info to the user, restricts dispatcher from entering negative or invalid characters, sends ride from pending to active in Firebase 2.) Dispatcher updates wait time -- dispatcher can update an already active ride with a new wait time if something occurs 3.) Dispatcher wants to complete a ride -- dispatcher can click complete ride button to send, sends ride from active ride to archived ride 4.) Dispatcher closes app, and reopens -- the app reopens and is still signed in

Google Firebase, Authentication and Realtime Database - Used for Google Signin and storing ride data / communcating with user app.

Authors with guidance from Dr. Forrest Stonedahl

Tan Nguyen

Megan Janssen

Tyler May

Kevin Barbian

Contributions:

Tyler May Pair programmed with Kevin Barbian Setting up dispatch display, listview with textviews for email, start and end location, timestamp and edit text and buttons for setting and updating wait time Allowing dispatcher to set ACES to go online/offline

Kevin Barbian Pair programmed with Tyler. We set up the double list display for pending and active rides--we also connected this with firebase so that it pulls in new ride requests in realtime and displays them. We designed and implemented the custom ride object and custom list item that is displayed in the lists. We also implemented the ON/OFF flag and the "Send","Complete", and "Update" buttons in addition to having them communicate with firebase.

About

DEPRECATED ANDROID DISPATCH APP -- the system only uses Dispatch-App-Web now!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%