How can we improve the Windows platform?

Access to the Light and proximity Sensors

Access to the Light and proximity Sensors Please.

506 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    JamesJames shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
    AnonymousAnonymous shared a merged idea: Plz have API for Proximity(light Sensor)  ·   · 
    MaxMax shared a merged idea: Proximity Sensor Access API  ·   · 

    Thanks for your suggestion.

    Following up on this, access to the proximity sensor was added in Windows Phone 8.0 via the Windows.Networking.Proximity namespace; and access to most of the sensors was expanded in 8.1 via the WinRT Windows.Devices.Sensors namespace to provide access to the light sensor via the LightSensor class.

    For more information, check out the following docs:
    - http://msdn.microsoft.com/en-us/library/windows/apps/windows.networking.proximity.aspx
    - http://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.sensors.aspx

    9 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base