.idea | 5 years ago | ||
app | 5 years ago | ||
gradle/ wrapper | 5 years ago | ||
.gitignore | 5 years ago | ||
README.md | 5 years ago | ||
build.gradle | 5 years ago | ||
clock.svg | 5 years ago | ||
gradle.properties | 5 years ago | ||
gradlew | 5 years ago | ||
gradlew.bat | 5 years ago | ||
settings.gradle | 5 years ago |
I got sick of giving lectures in rooms with a clock that is either non-functional or several minutes fast/slow. What happened to all the old militant academics who would throw tantrams at the building supervisors if there was a bad clock in a room?
I don't wear a watch, but always have my phone with me since I use it for recording the lecture. So, I figured an app should do the trick.
My requirements:
A quick survey of the app store showed that most apps in this category were:
So, figuring that it has been a while since I tortured myself by writing an Android app, I built one that does what I need. FYI - Android development still sucks. Glad to see things have not changed since I last had to build an app a few years back.
Run the app. Enter your end time. If you bugger it up, tap reset. Set the display update rate (defaults to 5 seconds). Set the dim screen option if you want it (should use less battery with the screen dimmed). Tap start.
It will count down the minutes until the end time. At 2 minutes out it will switch to minutes and seconds. At the end time the screen goes red, and it will start counting up so you know how much over time you are.
To get out of the timer screen, swipe down from the top to get your navigation buttons back. I got lazy and used 'sticky immersive' mode which will automatically hide the navigation buttons after a few seconds. This saved me from having to write my own fullscreen toggle, but does mean you have to use the swipe down to get to the navigation bars which is a bit annoying (particularly if you don't know about it).