You can ask for the last known location. Kris On Oct 5, 2013 3:33 PM, "HImanshu Mittal" <[email protected]> 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]>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 a topic in the >> Google Groups "Android Developers" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/android-developers/cFXbDUmDh6E/unsubscribe >> . >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > 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. > -- 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.

