Dev Center - Windows Store apps
Dev Center Home
Internet Explorer
Desktop
Hardware
Dashboard
Get started
Design
Develop
Market
Sign in
App architecture
How to
Samples
Reference
Downloads
Forums
Dev Center - Windows Store apps
>
Samples
>
Windows 8 app samples
>
LightSensor sample
Download the tools and SDK
Quick Access
My Samples
Upload a sample
Browse Sample Requests
LightSensor sample
This sample shows how to use the Windows.Devices.Sensors.LightSensor API. This sample allows the user to view the ambient light reading as a LUX value. You can choose one of two scenarios: LightSensor data events, Current light sensor reading
Download
C++ (90.1 KB)
C# (77.2 KB)
JavaScript (62.8 KB)
VB.NET (77.2 KB)
Ratings
(3)
Downloaded
7,920 times
Favorites
Add To Favorites
Requires
Visual Studio 2012
Last Updated
4/9/2013
License
MS-LPL
Share
Technologies
Windows Runtime
Topics
Devices and sensors
Report Abuse to Microsoft
Description
Browse Code
Q and A (1)