RE: Device light and proximity sensor

I do like the simplicity of the proposals. I would like to see them extended to ambient sound as well, using the same simple model, and some info about the expected event rates or trigger points (ala the min/max values in the callback for deviceproximity).

To pick up this work, I would also recommend that Mozilla bring the proposals to DAP in addition to WhatWG.

Thanks,
Bryan Sullivan 

-----Original Message-----
From: Robin Berjon [mailto:robin@berjon.com] 
Sent: Monday, May 07, 2012 8:32 AM
To: public-device-apis@w3.org public-device-apis@w3.org
Subject: Fwd: Device light and proximity sensor

Hi all,

Doug put together the two proposals below. Since they happen to be both on our plate and delightfully simple I was wondering if there was interest in this group in taking them further?

Begin forwarded message:
> Resent-From: public-whatwg@w3.org
> From: Doug Turner <doug.turner@gmail.com>
> Date: May 4, 2012 19:47:52 GMT+02:00
> To: public-whatwg@w3.org
> Subject: Device light and proximity sensor
> archived-at: <http://www.w3.org/mid/5E39BEF5-4E6E-4F04-93A8-C69D10405A46@gmail.com>
> 
> 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

-- 
Robin Berjon - http://berjon.com/ - @robinberjon

Received on Monday, 7 May 2012 15:48:06 UTC