I’m trying to create application for WP7 using data from compass sensor.
I’ve found this example: http://msdn.microsoft.com/en-us/library/hh202974(v=vs.92).aspx
It works fine (tested on device), but I’m curious, if it is possible to test it in emulator. If I try to rotate device within the emulator (accelerometer tab), nothing happens.
Any ideas how to test it in emulator?
Thank you
The Windows Phone 7 emulator can simulate accelerometer and GPS, but not compass. You will have to write your own compass simulator. This is quite easy to do, just follow the same kind of approach developers used before the emulator simulated accelerometer. See:
Windows Phone 7 Emulator: Simulating the accelerometer
http://wp7accelerometerkit.codeplex.com/