Question

Does windows phone currently have APIs for proximity and light sensors?

I want to access these two sensors, but can not find the API.

Is there some methods to use them ?

Was it helpful?

Solution

Unfortunately, no. Sensor APIs available are listed here: http://msdn.microsoft.com/en-us/library/microsoft.devices.sensors%28v=VS.92%29.aspx

If you really need it, then you should find it & vote for it here: http://wpdev.uservoice.com/forums/110705-app-platform ; They are listening to the feedback, if the recent news stories of "native" code access coming soon are true.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top