O'Reilly logo

Learning MIT App Inventor: A Hands-On Guide to Building Your Own Android Apps by Mark Sherman, Derek Walter

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

Clicker-Counter App

Consider an example: a Clicker-Counter app. Counting clickers are often used in theaters, auditoriums, and other large-group settings to count how many people enter; an attendant simply clicks a button for each person who comes in. We’re going to make a basic counter, but it can be extended to count anything, or any number of things, like a baseball umpire’s counter or a billiards scorekeeper.

All we need for this app is a single button. You might want to adjust its size properties to make it nice and big on the screen. For instance, you can set the width to Fill Parent and the height to 300 pixels. I renamed the button from Button1 to TheButton. You might also want to make the font size bigger and change the text to the number ...

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