I set the PositionChanged listener in a Geolocator object with
var geolocator = new Geolocator(); geolocator.PositionChanged += Geolocator_PositionChanged;
It has been working fine for some time. But after a while without user interaction (+ - 4 hours), he stops receiving position changes, I think, because WP8 just kills him. This may be desirable from ms, but it is terrible for my application model.
I did to additionally set PeriodicTask and send the position. And it works without problems, but if the user changes his position, I can not really track it.
Question: is there anyway to awaken this geolocation without the need for user interaction? It can be through PeriodicTask or even in PositionChanged.
I'm already trying to instantiate a new geolocation already inside the PositionChanged delegate, but this does not work.
Any help is greatly appreciated. Thanks!
source share