views:

28

answers:

2

I am writing an application for WIM 6, and one of its features is to detect no movement. How can I access the phone's accelerometer? is there any managed API that wraps it so I can write it on c#? Thanks.

+1  A: 

There's a library available here that works on many HTC devices.

ctacke
Nice to know, its really nice API :)
ET
A: 

There is an excellent article with sample code in MSDN Magazine: "Shake and Skip to Interact with Your Music"

http://msdn.microsoft.com/en-us/magazine/ee413721.aspx

that should get You started.

Andreas Paulsson