I tried PhoneGap code below to continue the audio in the background, but with no results.
anyone has ideas to make it work?
var my_media = new Media('http://....mp3',
// success callback
function() {
console.log("playAudio():Audio Success");
},
// error callback
function(err) {
console.log("playAudio():Audio Error: "+err);
});
// Play audio
my_media.play({ playAudioWhenScreenIsLocked : true });