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

Audio

Adding audio requires uploading the specific sound that you want into App Inventor. Recall that, in Chapter 2, “Building with MIT App Inventor,” we built the Speak, Android! app. This app used a speech recognition component built into App Inventor.

However, you can add any kind of audio from your computer into an app. Doing so involves one of two audio components: Sound or Player. You can upload sound files directly into the Media section of the Designer, as we have in previous chapters. In addition, you can upload directly in the Sound component’s Source property menu, as in Figure 9.3. The Upload File button in the Source menu also uploads the file to the Media section.

Figure 9.3 You can add a sound file to the app through the Source ...

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