HUAWEI P20 - exact path syntax to "sounds" folder (internal mem - no sdcard)

Then, as I said:

  1. if this mp3 file really exists on your device and
  2. 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

Thank you Anke,

I'll give it a try in a moment and let you know :wink:

Thanks a lot, Anke!!! :slightly_smiling_face:

My (incredible :joy:) app works perfectly now, thanks to your help and all others that replied :clap:

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 :wink:

And here is the "final" working code:


1 Like

good to hear that you got it running...

yes, exactly... as already mentioned here


1 Like

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?

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 ... 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 and the aia files for the projects in the book are here:
How to do a lot of basic things with App Inventor are described here: .

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


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

Thank you Taifun.

I'll have a look at it asap :wink:

So, here it is.

Unfortunately, the choice selection looks like this: I tried this, but it does not work :frowning:

use Do it to debug your blocks, see also tip 4 here
see also Live Development, Testing, and Debugging Tools

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

Okay, I try....

...and here it is:

Thank you very much Taifun :slight_smile:

II'm now going to have a look at your links above :wink:

image :+1: :+1: :+1:

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


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.