Summary

This chapter looked at the various location sensing technologies and how they compare in terms of power usage and accuracy. The chapter also explored how to monitor position changes using the Geolocator class, and how to simulate position changes using both the emulator’s location simulator and a custom class that is compatible with unit testing and testing on a physical device.

Finally, the chapter demonstrated how Rx can be used to modulate, or restrict, the frequency of PositionChanged event handler calls.

Get Windows® Phone 8 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.