Wouldn't you just register for updates with a shorter minTime parameter and then remove that one when you want to go back to the longer one? I've never tried it with intents, but it works fine with listeners: http://groups.google.com/group/android-developers/msg/7c1856b30811e7e8
On Jan 2, 8:43 pm, Doughy <[email protected]> wrote: > I recently posted this question on stackoverflow (http://tinyurl.com/ > yzrofne), but maybe someone here can help me. > > I am using the location manager's requestLocationUpdates() method to > receive an intent to my broadcast receiver periodically. The system is > correctly firing the intent to my broadcast receiver, and I have been > able to use it correctly. The only problem is that the GPS location > provider only stays active for a few seconds after the initial > location acquisition, and I need it to stay on a little longer so that > the location estimates are more accurate. > > For example, if I tell the location manager that I want an update > every 5 minutes, it correctly fires the intent with location > information from the GPS. However, the GPS only stays active for > about 5 seconds, so it doesn't give much time for the location to > reach a high accuracy (say, less than 10-20 meters). > > My question is how to make the GPS location provider stay active for > each periodic request that comes from the LocationManager > requestLocationUpdates. Does anyone know how to do this? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

