문제

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 ?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top