Create A background service in Windows phone 8 to update location -
I have to create a backdrop that should run after every 1 minute and call a rest service to update the mobile longitude. Let's do the latitude location for this purpose the rest of the service is written, whatever I have to do is write a task in my current application which should be completed by this update. Can you tell people what is the easiest way to implement this functionality.
Thank you,
There is no service concept in the Windows desktop application running Or not on the phone. An application on the phone, the tracking location, can run in the background while other applications run.
If your application is in the foreground, you will call web services directly with the updated location.
You can use periodically to update the location, but it is likely that it will not always update enough for your needs.
How to create an application about MSDN, which actively tracks in the background, is subject to some important limitations, and reasons can be disabled:
- The app closes actively, the Tracking Location app application is based on the status of the geolocator class and the removal of event handlers for status changed events or the stop of geocordinate water class () and Stops tracking by calling for respect.
- The app has run in the background for 4 hours to contact the user.
- Battery saver is active.
- Device memory is low.
- The user disables location services on the phone.
- Another app starts running in the background.
In addition to this one is available for this scenario.
Comments
Post a Comment