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

Exercise: Speak, Android!

It is time to create another app. This app, which we call Speak, Android!, will say a specific phrase when an icon is touched. We use the Designer and the Blocks Editor to manipulate an image.

1. Click on Project and select Start New Project (see Figure 3.14). In the pop-up box, type SpeakAndroid and click OK.

Image

Figure 3.14 Begin a new project by selecting Start New Project.

2. Next, you are on the Designer screen. The first component needed is Button, located in the User Interface box. Click and hold the button and drag it to the Viewer. When you release, the box will be in the Viewer and will display the words Text ...

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