I am programming an online simple web game with a private framework and I have to use the mobile accelerometer a lot for this app. Though the problem is that the accelerometer does not work well on any Android phones (Anyway it doesn't work with S6, S7 and S8). It works perfectly well on Safari with an iPhone though. I don't know if the problem comes from the phone or the brower but I can't install Safari on my Samsung and Firefox doesn't support my online app either I believe... So in my app the sound is louder if there is more acceleration and quieter if less acceleration, so the sound depends on the acceleration of the mobile phone. On iPhone it works exactly as I want, but on Samsung the sound is really weird, and I think maybe the process is opposite: the sound is loud when the phones doesn't move and quieter as I accelerate the movement. But still the sound is disgusting... Has anybody got any idea why it doesn't work with Samsung ? It's been almost a week I've been trying to solve that problem...
By the way sorry for my bad English, I'm French...
By the way sorry for my bad English, I'm French...