I'm created a simple player, with a play and stop button. I tested in my cell and start without problems, but if do stop, it not start again, showing the runtime error
I don't know where is the problem. The error appear in the app inventor viewer area and in the apk installed on my phone.
However, I had a similar issue (no runtime error) with much the same blocks. The player would stop the sound, then five seconds later it would start up again.
I found if I removed the Player1.Stop block from the if condition (and removed the else) and put the Player1.Stop block in another button event, then the Stop request worked, and the sound stayed stopped.
You could try this see if it works for you ? If it does then you could create the two buttons to look the same (apart from the png file) and replace one button with another on Click. A clunky workaround I know.
You could also try using Taifun's Enhanced Player Extension to see if that makes any difference, but make sure you read the documentation about http urls and the enhanced features
Well, the problem is with the URL. Reading the documentation about Taifun's, if I put an URL ending with .mp3 work fine but the problem is with the URL of live streaming using shoutcast or icecast. With http or https doesn't work.
Can somebody help me to know if Taifun's Enhanced Player Extension support to set audio source from URL' s of Shoutcast and Icecast servers for live streaming?