+21622886281
App Inventor Simple application

Make the firm application with App Inventor

Presentation of App Inventor

App Inventor is a visual, blocks-based programming language and online platform for creating mobile apps for Android devices. It was developed by MIT’s Media Lab and is now maintained by the Massachusetts Institute of Technology (MIT). It allows users with little or no programming experience to create their own mobile apps by dragging and dropping visual blocks that represent programming concepts. App Inventor is also open-source, which means that anyone can access, modify, and distribute the software. It is intended to help educators and students learn programming and is widely used in classrooms and educational institutions.

Purpose of this tutorial:

It is possible to create a sound application with App Inventor that produces sounds of animals. To do this, you would first need to find or create audio files of the animal sounds that you want to use in the application. These audio files can be in the form of .mp3 or .wav files.

Once you have the audio files, you can start designing the user interface of the application using the built-in components such as Buttons and Image/Sound components. You would then need to create event handlers for the various buttons using blocks. These event handlers would specify the behavior of the application, such as playing the appropriate sound when the corresponding button is pressed.

To create the interface, you can use a Layout manager such as a HorizontalArrangement or a TableArrangement to organize the buttons and images of animals. You can add Buttons for each animal and an image that represents the animal. You should also add a Sound component to the interface, which will be responsible for playing the audio files.

Once the interface is set, you can proceed to set up the event handlers to make the application functional. You can use blocks to specify the behavior of the application when the buttons are pressed. For example, when the user presses the “Lion” button, an event handler would be triggered that would play the lion sound using the Sound component.

You can also include additional functionality such as a stop button to stop the sound, a loop button to repeat the sound, or a volume control to adjust the volume of the sound.

It’s important to keep in mind that you need to have the rights to use any sound files you plan to use in your application.

In this tutorial we will create a firm application with App Inventor that produces sounds of animals.

We propose to create the design of the application, with the following visual

Programming the Firm Application

To program the application, App Inventor proposes to use The Space Blocks which allows to create a program in the form of a block diagram. Very simple to use but requiring a bit of programming logic.

Here is the firm program realized in the Blocks space of the Inventor App:




0 commentaire


Leave a comment

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Scroll to Top