santp is a simple Android application for obtaining semi-accurate wall-clock time using the Network Time Protocol (NTP). This allows a mobile phone to estimate the offset between the system time and a set of NTP time servers, producing a real-time on-screen display of the corrected time. The application will automatically select a set of NTP servers based on the approximate location of the phone, and a built-in list of NTP servers for a selection of geographical regions. When GPS is available, the application will also use timing information from GPS, combining all available time-reference information using a statistical model similar to a Kalman Filter.
The package is written in Scala, and built using SBT, together with the sbt-android plugin. It makes use of the Apache Commons Net library, and the Akka toolkit.
The application is supplied as-is, with no warranty, and with no guarantee of any particular level of timing accuracy.
The application is released under the Apache License, Version 2.0.