Talking Clock Automation

Recall that in Button Control, we introduced Christoph Kober’s Headset Button Controller application and how you can assign applications to headset button press events. In this case of the GUI-less application we just wrote, combining the Talking Clock program with Christoph’s program is an ideal match.

We’re going to assign the Talking Clock program with a headset button click action. I prefer using a triple-click assignment to make it more unique. When the headset button is clicked three times in a row, Headset Button Controller will launch our Talking Clock program. And because the Talking Clock app has no user interface, we don’t have to worry about fiddling with a user interface while driving or walking. It’s ...

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.