Talking Clock

The goal of this task is to automatically speak the time every fifteen minutes using Android’s built-in text-to-speech (TTS) engine. Once we get the clock task working, we will create a second task that announces the device’s current battery charge percentage at the top of every hour. We also don’t want our clock to be waking us up every fifteen minutes while we’re sleeping, so we will define in the profile the time frame for when the talking clock and battery tasks should run.

Launch Tasker and select the Tasks tab (as shown in Figure 23, Creating a new task) by selecting the center plus icon in the bottom toolbar.

Type in Say Time as the new task name and touch the check mark to accept the name. Doing so will present you ...

Get Developing Android on Android now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.