I am currently working on an application that should play audio from an external source. It is in the .amr format, but by giving it a URL and looking at the log code, I see it trying to access local logging:
FAILED renaming /storage/sdcard0/tmprecording.3gp to /storage/sdcard0/http://URL/audio.amr
Here is my player code
function play(source) {
var media = new Media(source, Played, Failed);
media.play();
document.getElementById('status').innerHTML = "playing";
}
with the function associated with the button and specifying the audio URL. I am testing this on Android.
Thank!
source
share