Objectives:
Finish programming (coding) your app'.
Add an icon to your app.
Refactor code to use only one player.
My app has a bug! I want only one speech to play at a time, but my app allows both to play at once.
Questions: How can I debug my code?
Finish building your app. Remember to test your app as you make changes, using AI Companion.
Remember these requirements:
3 or more buttons have different images
matching sounds play when the user presses each of the buttons
use only Creative Commons-licensed media or your own media
use conditional statements to make the sound play if stopped or pause if playing
use only one sound player to play all of the sound files
do not allow the sounds to overlap
Change your app's home screen icon to be something unique that reflects your app, rather than the default app inventor logo. If you want, this could be a screenshot of your user interface. This will make your apps look more professional. You can find the place to change the default app icon in the Screen1 properties box.
Start the the MIT AI2 Companion app on your phone or tablet.
In App Inventor, click Connect and then select AI Companion. This will display a 6-letter code both as a QR code and as plain text.
On the device, scan the barcode or type in the 6-letter code and click Connect to App Inventor.