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?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s