On Mar 15, 9:53 pm, Kumar Bibek <[email protected]> wrote: > While trying to get thelocation, request forlocationupdates. And > then, onLocationchanged method, retrieve thelocation.Using the > Network provider gives you afixfaster than GPS, normally. GPS will > be faster than network when you are away from any signal, but you are > out in the open.
I did try that, but the onLocationChange event would sometimes only be fired after several minutes during which my service would keep waiting for that fix. This seriously disturbed the flow of the application as it's very strange to a user that an application always needs several minutes to update itself. All I need to do is fetch a URL and pass the current latitude and longitude as GET parameters. -- 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

