W3C home > Mailing lists > Public > public-device-apis@w3.org > November 2011

Re: [vibration] Re: Preliminary thoughts on the vibrator spec

From: Dave Raggett <dsr@w3.org>
Date: Thu, 10 Nov 2011 13:48:29 +0000
Message-ID: <4EBBD62D.1020006@w3.org>
To: public-device-apis@w3.org
On 09/11/11 23:18, Jonas Sicking wrote:

> I don't think that the implementation should *pause* the vibration
> pattern. Instead it should suppress it while the page is not visible.
> That way the vibration pattern is still in sync with whatever is going
> on on screen if the user switches away for a second.

There may be significant implementation difficulties with resuming the 
vibration pattern, at least on Android. The safest path is to cancel the 
vibration when switching to another page (or to another Android app), 
and not to resume it when the page becomes visible again.

  Dave Raggett<dsr@w3.org>  http://www.w3.org/People/Raggett
Received on Thursday, 10 November 2011 13:49:01 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 14:53:51 UTC