My project is to design an Android app that will be fitted in school buses so that I can send automated SMS to parents when bus is late.
I need to calculate expected arrival time for the next stop and also create a mySql database schema to store the points.
What will the algorithm to calculate the ETA look like and how should I design my Database Schema?
I stumbled upon this research paper here (http://ntl.bts.gov/lib/17000/17500/17573/PB2001102278.pdf) but it only talks about algorithm.
Also the research paper is very old so it is using technologies that is non-existent now.
How should I proceed for this? Server side is not a problem as it is already been done using openGTS.
Just compare the time you reach a location to the usual time you reach that location. If you are X minutes late, assume you will be about X minutes late to every subsequent location on the route.