Frage

I want to develop a desktop application (C#) with support for light sensors but I dont have a real light sensor, Is there a way to install a "Virtual Ambient Light Sensor" on Windows 8?

War es hilfreich?

Lösung

Why can't you simply mock the light sensor to test your app? See the lightsensor api, further Scott Hanselman has already blogged some examples on how to access RT API from the Desktop Ap. With the above two you can mock, test and use the light sensor directly in your app.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top