Learning MIT App Inventor: A Hands-On Guide to Building Your Own Android Apps
by Derek Walter, Mark Sherman
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access