Debug Blocks

21 views
Skip to first unread message

osama sayar

unread,
Mar 28, 2017, 2:21:25 PM3/28/17
to MIT App Inventor Forum
I need help to debug blocks. I want to build a block which check if the mp3 available in SDCard or not then start play it.
checkavailable.png

Taifun

unread,
Mar 28, 2017, 6:12:24 PM3/28/17
to MIT App Inventor Forum
use the Exists method from the file extension https://puravidaapps.com/file.php


Taifun

osama sayar

unread,
Mar 29, 2017, 3:41:11 AM3/29/17
to MIT App Inventor Forum
Thank you Taifun.
The problem has been solved by calling  Taifun File Exiist Extensionand block, Run Time Error message doesn't pop up again. 
 
Best Wishes 

Taifun

unread,
Mar 30, 2017, 3:04:28 PM3/30/17
to MIT App Inventor Forum
meanwhile I fixed the player extension https://puravidaapps.com/player.php
in case you try to play a file, which does not exist, you now get a "nice" error message...
Taifun
Reply all
Reply to author
Forward
0 new messages