Play random file mp3

I would build an App which plays 30 files mp3, containing bible passages, in random manner and when all 30 mp3 have been played the App stops and closes. So Each mp3 must be played only one time till the App stops.
Would you be so kind to show me how the blocks editor mast be set?
Thank you very much.

the purpose of this community is providing help to help yourself...
please first learn the basics and then try something and if you get stuck, post a screenshot of your relevant blocks...

Here is a snippet... however you should use the Player component rather than the Sound component...
How to play a random sound when the device is shaken
See also the Jukebox example here App Inventor Extensions: File | Pura Vida Apps

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook http://www.appinventor.org/book2 ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here http://www.appinventor.org/content/CourseInABox/Intro and the aia files for the projects in the book are here: http://www.appinventor.org/bookFiles
How to do a lot of basic things with App Inventor are described here: http://www.appinventor.org/content/howDoYou/eventHandling .

Also do the tutorials Our Tutorials! to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

2 Likes

I am not able to undestand tutorials. I serch a skill person that generously send me an image of bloks already built

Yes, I see it the same way as Taifun, but exceptionally considering your noble purpose:

BiblePassages.aia (243.0 KB)

1 Like

dear Anke thank you veryveryvery much!

Mr Steve last year you were so kind to send me an image of blok editor I need.
Would you be so kind to send me again a new one for my new app?
I would build an App which plays 30 files mp3, containing bible passages, in random manner and when all 30 mp3 have been played the App stops and closes. So Each mp3 must be played only one time till the App stops.
Would you be so kind to show me how the blocks editor mast be set?
Thank you very much.

This Forum discussion ?

It appears Anke answered your new question. Follow her good advice. Good luck with your Project.

Mr Steve alwais thank you for the help you gave me last year and now for your actual message.
I am grateful to you
Maurizio