Soo, here's the problem.

46 views
Skip to first unread message

Apps Burger

unread,
Oct 10, 2019, 9:11:16 PM10/10/19
to MIT App Inventor Forum
I have this app which is a soundboard. When you choose a sound from a ListView this is loaded into the player and played. The audio file is loaded in the app's resources directly from appinventor. Now, I want the button share works, but I can't get it to find the sound on the device. I know that I could do things and make it work on my device but I need a solution that can work for everyone since the app will end up on the store. Suggestions?

Taifun

unread,
Oct 11, 2019, 2:55:41 AM10/11/19
to MIT App Inventor Forum
first copy the file from the assets to the internal storage and share from there
see also this answer https://groups.google.com/d/msg/mitappinventortest/Apw05Ry0eqY/l6Qf8nkLAgAJ

Taifun

Trying to push the limits of App Inventor! SnippetsTutorials and Extensions from Pura Vida Apps by  Taifun.

Apps Burger

unread,
Oct 11, 2019, 7:40:55 AM10/11/19
to mitappinv...@googlegroups.com
@Taifu Thank you! It's possibile to view the blocks of that operation? I'm a beginner.. 
I'm trying your sample app for files. If it is on the phone, and not emulated, it says the file does not exist when i try to copy.

This is from my app. When executed,it says error 2001, The file "file:///mnt/extSdCard..."could not be found on your device..
Etichetta1.testo contains the filename.mp3

blocks.png

BodyMindPower

unread,
Oct 11, 2019, 9:21:22 AM10/11/19
to MIT App Inventor Forum
Try this:

Reply all
Reply to author
Forward
0 new messages