Train Station Alarm

Those who regularly commute by train know all too well how the lull of a rocking train can put tired passengers to sleep in no time. If you’re a light sleeper, you may hear the conductor announce your train stop. If not, you may wake up with the conductor tapping you on the shoulder and asking you to exit the train at the end of the line, usually a long way from home. If the train always runs on time, you could simply set a clock alarm to go off. But what if the train runs late because of rush-hour traffic conditions? Wouldn’t it be nicer to get a few more minutes of a power nap in before confidently being alerted that you will be arriving shortly at your intended destination? Thanks to a relatively simple Tasker script, ...

Get Developing Android on Android now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.