WP7 Mock Microsoft.Devices.Sensors.Compass when using the emulator
问题 I'd like to be able to simulate the compass sensor when running a Windows Phone 7.1 in the emulator. At this stage I don't particularly care what data the compass returns. Just that I can run against something when using the emulator to test the code in question. I'm aware that I could deploy to my dev unlocked phone to test compass functionality but I've found the connection via the Zune software to drop out frequently. Update I've looked into creating my own wrapper class that could