Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shake control for Windows Phone 7

How would I use the accelerometer in WinPho7 to detect shaking the phone and have that trigger an event. For example, to roll dice, you would shake the phone.

like image 841
BigPete Avatar asked Oct 19 '10 11:10

BigPete


1 Answers

Here are 3 solutions, each with code:

http://www.j2i.net/BlogEngine/post/2010/07/31/Detect-Shaking-Motion-on-Windows-Phone-7.aspx

http://blog.markarteaga.com/ShakeDetectionOnWindowsPhone7.aspx

http://www.codeproject.com/Articles/98492/Detect-Shaking-Motion-on-Windows-Phone-7.aspx

like image 103
Matt Lacey Avatar answered Oct 26 '22 07:10

Matt Lacey