Hello,
I succeded to play an audio file however now I would like to make a tag appear in java. In fact, I want to see when the myplay is run. In C I know that there is “dlog” function but in Java I don’t know. Could you help me ? because I want to show my tag in the log view but this is a web app not native application.
Thanks you
function setLimitExceeded(exceeded) {
if (exceeded) {
page.classList.add('limit-excedeed');
vibration.start(); // la montre vibre
myMedia.play(); //joue le morceau
// Log.i("Acachan", "music play"); //EXEMPLE TAG
} else {
page.classList.remove('limit-excedeed');
vibration.stop();
/*setTimeout(function() //stop le morceau apres tant de minute
{
myMedia.stop(); //on arrete le morceau
}, 5000); //5s après*/
myMedia.pause();
}
}