Google latitude background updating
If your app can continuously track location, it can deliver more relevant information to the user.For example, if your app helps the user find their way while walking or driving, or if your app tracks the location of assets, it needs to get the location of the device at regular intervals.* Share your location continuously with whomever you choose – help friends and family stay in touch with you, even when you can’t take out your phone.* Control your privacy – share only city-level location, hide your location, or turn off background updating at any time.This can be handy to reduce power consumption, provided the app doesn't need to collect information even when it's running in the background.This section shows how you can stop the updates in the activity's A change to the device's configuration, such as a change in screen orientation or language, can cause the current activity to be destroyed.As well as the geographical location (latitude and longitude), you may want to give the user further information such as the bearing (horizontal direction of travel), altitude, or velocity of the device.
The accuracy of the location is determined by the providers, the location permissions you've requested, and the options you set in the location request.In this lesson you require fine location detection, so that your app can get as precise a location as possible from the available location providers.Request this permission with the Before requesting location updates, your app must connect to location services and make a location request.While you might think this would be extremely obvious, there is a big difference between Latitude and many of the other apps built for the i Phone: Latitude is entirely browser-based.Yes, there is no native Latitude app, and there was some thought that since the mobile version of Safari on the i Phone can technically run in the background, that maybe it would allow apps like Latitude to also do the same. Unfortunately, since there is no mechanism for applications to run in the background on i Phone (which applies to browser-based web apps as well), we’re not able to provide continuous background location updates in the same way that we can for Latitude users on Android, Blackberry, Symbian and Window Mobile.