开发者

How to test the accelerometer for Windows Phone 7?

I'm wondering what is the best way to test the accelerometer? There doesn't seem to be any simulation for movement on the emulator, and mocking seems like it would be difficult.

Should I just do a best gues开发者_如何转开发s and wait until the real devices come out or is there another approach to consider?


http://blogs.silverarcade.com/silverlight-games-101/27/silverlight-simulating-accelerometer-data-in-the-windows-phone-7-emulator/

Using this method you can simulate the accelerometer using a Wii Remote, if you have one. Other than that, a quick Google indicates that its not possible without actual hardware. Hope that helps!


Here is an article on using the accelerator simulation in the emulator. http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202936(v=vs.105).aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜