Chapter 7Tasker Pomodoro Widget

Now that we have a good introduction to using Android scripting tools like Tasker and programming tools like AIDE, let’s put our knowledge to practical use by building an Android widget. As we discussed in the first part of this book, a widget is a special type of Android application that can be hosted on the Android home screen. It can autonomously update itself and run alongside other home-screen widgets.

The widget we will build is a countdown timer based on the Pomodoro Technique.[65] The basic idea behind a Pomodoro is simple—work distraction free for twenty-five minutes several times throughout a workday. There are a number of other details that go into successfully implementing the Pomodoro Technique ...

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.