Anke
September 9, 2020, 6:20am
21
flotul:
Yes it does.
Then, as I said:
Anke:
This path should work:
file:///storage/emulated/0/Sounds/BrownNoise.mp3
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
September 9, 2020, 8:34am
22
Thank you Anke,
I'll give it a try in a moment and let you know
flotul
September 9, 2020, 10:36am
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
September 9, 2020, 11:03am
24
good to hear that you got it running...
yes, exactly... as already mentioned here
Taifun
1 Like
flotul
September 9, 2020, 11:18am
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
September 9, 2020, 11:28am
26
flotul:
a simple example
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 App Inventor 2 Book: Create Your Own Android Apps ... 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 Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps
How to do a lot of basic things with App Inventor are described here: How do you...? .
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
September 9, 2020, 11:29am
27
Thank you Taifun.
I'll have a look at it asap
flotul
September 10, 2020, 12:18pm
28
So, here it is.
Unfortunately, the choice selection looks like this:
flotul
September 10, 2020, 12:19pm
29
...so I tried this, but it does not work
Taifun
September 10, 2020, 12:29pm
30
flotul
September 10, 2020, 12:38pm
32
...and here it is:
Thank you very much Taifun
II'm now going to have a look at your links above
Taifun
September 10, 2020, 4:37pm
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
September 17, 2020, 4:43pm
35
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.