WP7 – What is Shaking?

While upgrading one of my apps to Mango, I came across a possible issue with one of the new APIs. Part of the app simulates the rolling of dice and uses the ReadingChanged event. With Mango this method is depricated in favour of CurrentValueChanged.

So I decided to upgrade to using Motion rather than the Accelerator sensor. The problem is that the “old” WP7 devices do not have all the sensors that Motion covers so comes up as unsupported. So if your app does not require the full features covered by motion, continue to use the individual sensors. Otherwise your app will not acknowledge any of the sensors covered by Motion (the IsSupported methos) and “older” WP7 devices will not run your app.

John Marshall… Visio MVP       Visio.MVPs.org

Published by johnvisiomvp

The original Visio MVP. I have worked with the Visio team since 1993

2 thoughts on “WP7 – What is Shaking?

  1. Would you be able to detect the version of the OS and do both ways? Hey, I’m just throwin out an option, I’m still using the old WP7 OS on my phone.

Comments are closed.