onLocationChanged will never trigger if dont have map.getMapAsync(). And use FusedLocationApi for getting current latlong dont use getlastknowlocation.
-- 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]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/df07b446-4b87-4761-a875-84c3f3787244%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

