Re: [vibration] Preliminary thoughts on the vibrator spec

On 23.11.2011, at 11.18, ext Deepanshu gautam wrote:

>> The proposed functionality can be used to annoy users. As a user, I
>> want to be in control of whether my device is able to vibrate (or make
>> sounds, or annoy me otherwise). 
> [DG] I'm not proposing to enable Vibration automatically (without user consent). It is just to allow Web Apps to know whether Vibrator is OFF and then notify UA. Which may then ask user to switch it on (however, that part is out-of-scope here).

Ok, but I don't see a use case for such a method either.

> This will avoid UA/OS/device to keep monitoring if some unavailable functionality is being used and then notify user.

What's the exact issue? This shouldn't be too hard to implement.

> The better way would be for *app* to say "Hey I want to use XXX would you like to switch it on" and user may decide to switch it on for that particular session, forever, forever for that particular application etc.

I think this is better handled by the *UA*. One potential implementation approach would be to do it similarly to the Geolocation API in major browsers (i.e. a non-modal infobar displayed as an extension of the chrome is asking the above question).


Received on Wednesday, 23 November 2011 10:35:23 UTC