to answer your question - it depends on what Google Maps is doing to resolve your location.
If I understand you correctly, you're using the Google Maps api to display current location, and you're comparing that location (which always seems available) with the location information that the LocationManager provides you. Is that correct? If that is, then there are a couple things that could be happening: 1. Google Maps could be resolving your location through some other means, which includes contacting your phone's carrier to get a fix (Assisted GPS). 2. Google Maps could be using it's own way to resolve your location based on a cell tower. Google uses a database for this purpose. In any case, you should expect to see a difference (not that you always will - but expect it to be so), between what you see on Google maps and what LocationManager tells you. Hope that helps. Cheers, Richard On Saturday, October 5, 2013 12:29:51 PM UTC-7, HImanshu Mittal wrote: > > But Sir I have a question than , > How a blue dot is availaible at the position where I am , but the function > is not able to fetch the data than... > ?? > > > On Sun, Oct 6, 2013 at 12:19 AM, Richard Schilling > <[email protected]<javascript:> > > wrote: > >> There are cases where you won't get a location even when things are setup >> right. This may help: >> >> >> http://rschilling.wordpress.com/2011/01/05/some-android-and-not-android-gps-best-practices/ >> >> >> >> On Thursday, October 3, 2013 7:55:23 AM UTC-7, HImanshu Mittal wrote: >>> >>> Hello >>> >>> I am building the app that requires that users location has to be >>> updated on my server periodically or to be more efficient only when its >>> location has been updated. >>> For that a Service will run on its device. >>> But I am not able to develop that till now haven't found that does that >>> perfectly. >>> Please help >>> >> -- >> > -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

