On Fri, 4 May 2012, Doug Turner wrote:
I have added two new events to Firefox which allow web apps to detect
light and proximity changes.
http://dougturner.wordpress.com/2012/03/22/device-proximity-sensor/
http://dougturner.wordpress.com/2012/03/26/device-light-sensor/
I spoke to Doug
Hey Ian,
The Sensor API Specification in the W3 is going to own them.
- Original Message -
From: Ian Hickson i...@hixie.ch
To: wha...@whatwg.org
Sent: Wednesday, July 11, 2012 3:27:17 PM
Subject: Re: [whatwg] Device proximity and light events
On Fri, 4 May 2012, Doug Turner wrote:
I
On Wed, May 9, 2012 at 5:59 AM, Doug Turner do...@mozilla.com wrote:
Where was that discussion?
This came up at the WebApps F2F and there was general agreement that
if we added new events adding new event handler attributes would make
sense. Feature detection of some kind is useful as forcing
Scott González wrote:
On Tuesday, May 8, 2012, Doug Turner wrote:
You don't. This API doesn't have device detection. Don't assume that
onXXX means that the UA supports an event.
I thought this was the preferred way to check. I seem to recall a
discussion about this and agreement that this
On May 9, 2012, at 3:14 AM, Anne van Kesteren wrote:
On Wed, May 9, 2012 at 5:59 AM, Doug Turner do...@mozilla.com wrote:
Where was that discussion?
This came up at the WebApps F2F and there was general agreement that
if we added new events adding new event handler attributes would make
There was a related discussion on the mailing list:
http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-November/029252.html
I also found a message from Hixie to me, related to that thread: I agree
entirely that if an event has a use case, it makes sense for it to have an
event handler
...@lists.whatwg.org]
On Behalf Of Doug Turner
Sent: Wednesday, May 09, 2012 7:31 AM
To: Anne van Kesteren
Cc: Jonas Sicking; wha...@whatwg.org; Scott González; JOSE MANUEL CANTERA
FONSECA; Andrei Popescu; Carr, Wayne
Subject: Re: [whatwg] Device proximity and light events
On May 9, 2012, at 3:14
That is different -- Hixie can chime in.
I think the idea is that if you have and dom event handler, you should also
have an on event handler attribute. Its meaning is less defined. I do not
think it means that if ondevicemotion exists, that means you will always see
device motion
The original question was How do you detect if the UA supports each of
these sensor?
I don't think we're asking whether you'd get events, but whether you can
detect that the UA actually supports the event. I would think the UA should
expose support (via onxxx attributes) if the UA and device
De: whatwg-boun...@lists.whatwg.org [whatwg-boun...@lists.whatwg.org] En
nombre de Doug Turner [do...@mozilla.com]
Enviado el: viernes, 04 de mayo de 2012 22:03
Para: Tran, Dzung D
CC: wha...@whatwg.org
Asunto: Re: [whatwg] Device proximity and light events
I looked
On Tue, May 8, 2012 at 9:12 PM, Andrei Popescu andr...@google.com wrote:
Neither have we and we have been supporting device orientation for a
while in both Chrome (desktop and Android) and Android Web Browser...
To me, Doug's proposal seems reasonable.
Is the expectation that these new events,
On Tue, May 8, 2012 at 12:33 PM, Anne van Kesteren ann...@annevk.nl wrote:
On Tue, May 8, 2012 at 9:12 PM, Andrei Popescu andr...@google.com wrote:
Neither have we and we have been supporting device orientation for a
while in both Chrome (desktop and Android) and Android Web Browser...
To me,
On May 8, 2012, at 3:26 PM, Jonas Sicking wrote:
The reason that I'm not really happy with this API is the fact that it
forces pages to remove all event listeners in order to shut down a
sensor.
True. I haven't heard of anyone actually worrying about this.
It seems more author friendly
On Tue, May 8, 2012 at 3:33 PM, Doug Turner do...@mozilla.com wrote:
On May 8, 2012, at 3:26 PM, Jonas Sicking wrote:
The reason that I'm not really happy with this API is the fact that it
forces pages to remove all event listeners in order to shut down a
sensor.
True. I haven't heard of
...@lists.whatwg.org] On Behalf Of Jonas Sicking
Sent: Tuesday, May 08, 2012 4:02 PM
To: Doug Turner
Cc: JOSE MANUEL CANTERA FONSECA; wha...@whatwg.org; Andrei Popescu
Subject: Re: [whatwg] Device proximity and light events
On Tue, May 8, 2012 at 3:33 PM, Doug Turner do...@mozilla.com wrote:
On May 8
FONSECA; wha...@whatwg.org; Andrei Popescu
Subject: Re: [whatwg] Device proximity and light events
On Tue, May 8, 2012 at 3:33 PM, Doug Turner do...@mozilla.com wrote:
On May 8, 2012, at 3:26 PM, Jonas Sicking wrote:
The reason that I'm not really happy with this API is the fact
On Tuesday, May 8, 2012, Doug Turner wrote:
You don't. This API doesn't have device detection. Don't assume that
onXXX means that the UA supports an event.
I thought this was the preferred way to check. I seem to recall a
discussion about this and agreement that this was the best way to
On May 8, 2012, at 7:23 PM, Scott González wrote:
On Tuesday, May 8, 2012, Doug Turner wrote:
You don't. This API doesn't have device detection. Don't assume that onXXX
means that the UA supports an event.
I thought this was the preferred way to check. I seem to recall a discussion
I have added two new events to Firefox which allow web apps to detect light and
proximity changes.
http://dougturner.wordpress.com/2012/03/22/device-proximity-sensor/
http://dougturner.wordpress.com/2012/03/26/device-light-sensor/
I'd like feedback and to see if there was any interest in
...@lists.whatwg.org [mailto:whatwg-boun...@lists.whatwg.org]
On Behalf Of Doug Turner
Sent: Friday, May 04, 2012 11:02 AM
To: wha...@whatwg.org
Subject: [whatwg] Device proximity and light events
I have added two new events to Firefox which allow web apps to detect light and
proximity changes
this in the next
couple of days.
Thanks
Tran
-Original Message-
From: whatwg-boun...@lists.whatwg.org
[mailto:whatwg-boun...@lists.whatwg.org] On Behalf Of Doug Turner
Sent: Friday, May 04, 2012 11:02 AM
To: wha...@whatwg.org
Subject: [whatwg] Device proximity and light events
Doug Turner [do...@mozilla.com]
Enviado el: viernes, 04 de mayo de 2012 22:03
Para: Tran, Dzung D
CC: wha...@whatwg.org
Asunto: Re: [whatwg] Device proximity and light events
I looked at the Sensor API. I was hoping to have something very simple and
lightweight. I most likely will implement other
of
addEventListener
De: whatwg-boun...@lists.whatwg.org [whatwg-boun...@lists.whatwg.org] En
nombre de Doug Turner [do...@mozilla.com]
Enviado el: viernes, 04 de mayo de 2012 22:03
Para: Tran, Dzung D
CC: wha...@whatwg.org
Asunto: Re: [whatwg] Device proximity
23 matches
Mail list logo