Language: HTML | XAML

Responding to light sensors

Applies to Windows and Windows Phone

Purpose

Developers can create Windows Store apps that use sensors to detect and respond to changes in ambient lighting. For example, an application can respond to a user walking out of doors with their slate device by increasing the contrast between the background and the font being rendered.

In this section

TopicDescription

Quickstart: Responding to changes in lighting (C#)

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

Quickstart:Responding to changes in lighting (C++)

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

 

Developer audience

Developers writing applications for slate and notebook devices will write applications that respond to light sensors.

Related topics

Roadmap for creating apps using C#, C++, or VB

 

 

Show:
© 2014 Microsoft