Responding to light sensors (Windows Store apps using JavaScript and HTML)

Language: JavaScript and HTML | VB/C#/C++ and XAML
4 out of 5 rated this helpful - Rate this topic

Purpose

Developers can create apps that use sensors to detect and respond to changes in ambient light. For example, an application can respond when a user walks outdoors with their slate device, by increasing the contrast between text and background.

In this section

TopicDescription

Quickstart: Responding to changes in lighting

You can use the ambient light sensor to detect changes in lighting with an app written in JavaScript.

 

 

 

Build date: 10/26/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.