O'Reilly logo

Hello App Inventor!: Android programming for kids and the rest of us by Paula Beer and Carl Simmons

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Clocks and timers

Take a look at the clock on a microwave oven. If you had to tell an alien what it was for, what would you say? Does it just provide information about the time?

Normally, this kind of clock does two useful things:

1.  It tells you what time of day it is in hours and minutes.

2.  When the oven is cooking, it shows a countdown of how long is left and does something useful when the timer gets to zero: stops the oven and goes “Ping!”

It might also do other cool (or hot) stuff, like starting the oven at a preset time or changing cooking programs halfway through. Why all this talk about microwaves? Well, the Clock ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required