App Hub

代码示例详细信息

Accelerometer

已提交
2010/8/4
代码示例

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 to update the position of a sprite on the screen.


All content and source code downloaded from this page are bound to the Microsoft Permissive License (Ms-PL).

 

 

下载项

Framework

GS 4.0

查找教育内容
var gDomain='m.webtrends.com'; var gDcsId='dcschd84w10000w4lw9hcqmsz_8n3x'; var gTrackEvents=1; var gFpc='WT_FPC'; /*<\/scr"+"ipt>");} /*]]>*/
DCSIMG