Back to Blog

Device API Ambient Light Demo on Nexus 7


What if you could measure how light it is outside and adjust the display settings of your mobile device or television based on that? What if the lights in your room or on the street adjusted on their own based on how light it is outside? Up until now there has not been an easy way to sense how light it is outside from a mobile device.

A little while ago we wrote A List Apart article on the capabilities of the new Device API which is still being developed. Device API gives us exactly what we’ve been talking about – a way to measure light. We have created a live demo of this capability, see the video of it in action below:

You can give the demo a try by loading a Firefox browser on any Android Device and going to this link.

Would love to hear any of your comments.

Author Dmitry Dragilev

More posts from this author

How we work Process

Product Hero Talin Wadsworth