Right, but they haven't been a real problem in practice.

Doug

On May 4, 2012, at 2:32 PM, JOSE MANUEL CANTERA FONSECA wrote:

> but you have the same issue as with motion and orientation which is that you 
> cannot control the watch parameters for the sensor and the side effects 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 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 sensor types in the same way 
> - simple dom events with attributes that are specific to the event.  This is 
> what we did for device motion and orientation, and it has worked out quite 
> well.
> 
> Thanks!
> Doug
> 
> 
> 
> 
> On May 4, 2012, at 11:34 AM, Tran, Dzung D wrote:
> 
>> Hello Doug,
>> 
>> Proximity and Light is currently in the Sensor API spec at:
>> 
>> http://dvcs.w3.org/hg/dap/raw-file/tip/sensor-api/Overview.html
>> 
>> This spec is in process of revising. I am planning to update 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
>> 
>> 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 supporting these 
>> events in other UAs.
>> 
>> Thanks
>> Doug
>> 
> 
> 
> Este mensaje se dirige exclusivamente a su destinatario. Puede consultar 
> nuestra política de envío y recepción de correo electrónico en el enlace 
> situado más abajo.
> This message is intended exclusively for its addressee. We only send and 
> receive email on the basis of the terms set out at
> http://www.tid.es/ES/PAGINAS/disclaimer.aspx

Reply via email to