I'm developing a game using Titanium. On iOS, there is no problem.
I play a sound in Alloy.js :
Alloy.Globals.ambiance = Ti.Media.createSound({url:"/pages/sounds/ambiance.mp3",looping:true,volume:0.8}); Alloy.Globals.ambiance.play();On android, when phone is locked, sound continues to play. Is there a way to avoid this ?
Thank you.