Inconsistency in Accelerometer ReportInterval=0 behavior on 8.1 RRS feed

  • Question

  • I have an app that sets the Accelerometer.ReportInterval to 0 when I navigate away from certain pages, or when the user presses a button that requests it to be turned off.  That all works fine.

    However, when the app suspends, instead of being able to unhook my accelerometer, I get an exception instead.

    WinRT information: Error encountered while setting the Current Report Interval property on the sensor.

    Additional information: Element not found.

    Is this expected behaviour?

    Anthony Wieser | Wieser Software Ltd | www.wieser-software.com

    Friday, February 21, 2014 12:58 PM

All replies

  • At what point are you trying to unhook?

    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Friday, February 21, 2014 8:48 PM
  • The page NavigatedFrom event, but on shutdown it throws.

    Anthony Wieser | Wieser Software Ltd | www.wieser-software.com

    Saturday, February 22, 2014 11:36 AM