Anke
21
Then, as I said:
- if this mp3 file really exists on your device and
- if the app has READ permission (what should be the case for the Player component).
However, this no longer applies to devices with an API ≥ 29. This is a bug. → @ewpatton
Therefore, until this bug is fixed, ask for READ_EXTERNAL_STORAGE permission at Screen.Initialize manually.

1 Like
flotul
22
Thank you Anke,
I'll give it a try in a moment and let you know 
flotul
23
Thanks a lot, Anke!!! 
My (incredible
) app works perfectly now, thanks to your help and all others that replied 
Maybe my app could surely be much better programmed but it actually does exactly what I need.
Thanks to All that make this possible and I mean making programs for mobile phones 
And here is the "final" working code:
Roger
1 Like
Taifun
24
good to hear that you got it running...
yes, exactly... as already mentioned here
Taifun
1 Like
flotul
25
Thank you Taifun,
Actually, this is what I wanted to do primarily but I don't know how to program a "choice".
Would you have a simple example for me please?
Taifun
26
use only one Player component and set the corresponding sound before playing
use a listpicker or a spinner
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.
flotul
27
Thank you Taifun.
I'll have a look at it asap 
flotul
28
So, here it is.
Unfortunately, the choice selection looks like this:
flotul
29
...so I tried this, but it does not work 
Taifun
30
use Do it to debug your blocks, see also tip 4 here https://puravidaapps.com/learn.php
see also Live Development, Testing, and Debugging Tools
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by
Taifun.
flotul
32
...and here it is:

Thank you very much Taifun 
II'm now going to have a look at your links above 
Taifun
34
if you use Do it after picking one of the items from the listpicker, you will get the correct result in the second Do it result
Taifun
system
Closed
35
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.