Skip to content
| Marketplace
Sign in
Visual Studio>Templates>Accelerometer
Accelerometer

Accelerometer

XNA GS Education

|
2,892 installs
| (1) | Free
Windows Phone 7 devices include a number of hardware sensors, one of which is the accelerometer. The accelerometer can be used to detect tilt, shaking, and other motion in three dimensions. This sample illustrates use of an accelerometer class to handle accelerometer data and ...
Download

Description:

This sample shows how to read the accelerometer sensor on Windows Phone 7.

Sample Overview

Windows Phone 7 devices include a number of hardware sensors, one of which is the accelerometer. The accelerometer can be used to detect tilt, shaking, and other motion in three dimensions. This sample illustrates use of an accelerometer class to handle accelerometer data and update the position of a sprite on the screen.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft