Search This Blog

Welcome our colleagues in National Bank Of Egypt

Welcome to National Bank Of Egypt Technical Articles, here we aim to share and increase our knowledge in IT field (Analysis, Software Engineering, Hardware, Network Security, Operating System, etc).

If you want to share us with your articles, just contact us on the email and we will make you an author and publish the summary of articles that you have read

Friday, December 11, 2009

Context-aware applications using Windows 7 Sensor API

Windows 7 sensor API makes it easier to developers to create applications that deals with hardware components, using this API you can make an application that controls the brightness of the screen.
The COM-based Sensor API works with drivers via extensions to a sensor class and consists of three main interfaces:
· ISensorManager provides methods for identifying and retrieving available sensors, requesting permissions, and controlling what happens when the user connects a sensor to a computer.
· ISensor lets sensors get and set properties, obtain reports, and control sensor-related events.
· ISensorDataReport reports sensor data and provides time stamps.
The common API lets you ensure that your code is going to be able to interact with sensors devices developed by different manufacturers.

No comments:

Post a Comment