SimpleOrientationSensor sample

This sample shows how to use the Windows.Devices.Sensors.SimpleOrientationSensor API.

 
 
 
 
 
5 Star
(2)
10,625 times
Add to favorites
4/2/2014
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • How to implement it on PC without sensor?
    1 Posts | Last post August 31, 2016
    • If it possible to rotate 90 degree on PC without sensor?
      I would like to know if it possible to send a trick event to rotate the display.
      Thanks.
  • Testing Orientation
    1 Posts | Last post June 20, 2012
    • Is it possible to test in simulator? I am using desktop for developing and testing but the orientation is not working in VS 2012 simulator.
      
      I believe that simulator must initialize appropriate settings and should handle it properly.
      
      Thank you in advance.