Device vibrates even when the “Vibration” setting is OFF

Device vibrates even when the “Vibration” setting is OFF

BY 06 Sep 2013 Web Application Development

Hi

We are using the device vibrator from our web app and it works fine, for example:

navigator.vibrate(300);

However, the device vibrates even when the Settings -> Sound -> Vibration is set to OFF. I expected that the OS would block vibrations when the setting is OFF. That’s how iPhone works. Is this expected behavior, or a bug in Tizen?

I don’t mind to check the setting and stop vibrations by myself in Javascript code, but I cannot find a way to access the setting. It appears to be possible from a native app, but not from a Web app. (One can access BATTERY, WIFI, etc., but not the Vibration setting.)

Thanks!

 

Written by