Prolific Windows Mobile hacker Koushik Dutta has released some more managed API’s for the various sensors on the HTC Touch Diamond. The first is an API for the light sensor, which gives programmers access to the environmental light sensor, allowing them for example to sense when the phone is held against an ear or apply their own screen brightness algorithm. Interesting applications would be to sense if the phone was near vertical and the sensor was obscured, to lock the screen during a call.
Next is an SDK for the Nav sensor, which is HTC’s capacitive scroll wheel on the HTC Touch Diamond. In HTC’s implementation the scroll wheel only works in some applications (such as Opera Mobile and the photo viewer) but now programmers can use this device in any application they develop.
It has been said that multiple sensors were going to redefine how we interact with our phones, and the efforts of hardware makers such as HTC and programmers such as Mr Dutta are helping to make this prediction a reality.