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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With