geolocation - Tracking geo-location in background every 5 mins interval with Windows Phone 8 -


i want geo-location every 5 mins interval , should run in backgound using windows phone 8 sdk.

i've been thinking use periodic task runs in 20 mins interval not frequent enough. can run more using

scheduledactionservice.launchfortest(periodictaskname, timespan.fromseconds(300));

but think not welcomed when want publish app in market.

then i've checked continuously tracking location doesnt stop using gps sensor unless stop manually.

i'll appreciate guidance lead me achieve goal.

thanks help.

using geolocator:

 geolocator = new geolocator();  geolocator.desiredaccuracy = positionaccuracy.high;  geolocator.reportinterval = 5000; //here can set interval between every location tracked (in milisseconds) 

it works fine me


Comments

Popular posts from this blog

javascript - IndexedDB error: Uncaught DataCloneError: Failed to execute 'put' on 'IDBObjectStore': An object could not be cloned -

java - Unable to make sub reports with Jasper -

Integrity error when loading fixtures for Selenium testing in Django -