有没有一种简单的方法来检测Windows Phone 8上的摇动?

Aur*_*bon 4 c# gesture windows-phone-7 windows-phone-8

我需要检测Windows Phone 8设备上的摇动,以便启动特定操作.我怎样才能做到这一点 ?

我发现有几个提到微软为WinPhone7制作的"ShakeGesture.dll"库,但它唯一可用的地方(AppHub)被开发中心网站所取代......

谢谢你的帮助!

Jus*_*gel 7

那很奇怪.看起来AppHub到DevCenter重命名打破了下载链接.

我已经将库上传到我的域名,直到这些链接得到修复@ http://JustinAngel.net/Storage/ShakeGestures.zip