how to get current location first time...i can be notified when location change but what abt first location.. i am using getlastKnownLocation but it is returning null....is there any other method to use
On Tue, Oct 12, 2010 at 7:01 PM, Mark Murphy <[email protected]>wrote: > Use MyLocationOverlay. > > On Tue, Oct 12, 2010 at 9:28 AM, A N K ! T <[email protected]> > wrote: > > not working....i just want to do the thing....menu item "my location " do > on > > google map.. > > is there any example for that > > > > On Tue, Oct 12, 2010 at 6:13 PM, Mark Murphy <[email protected]> > > wrote: > >> > >> On Tue, Oct 12, 2010 at 8:29 AM, A N K ! T <[email protected]> > >> wrote: > >> > 2) if location change and user open my app it shud show him current > >> > location > >> > like google maps shows.. > >> > but i am not getting how to make zoom till that label.. > >> > >> Call setCenter() and setZoom() on your MapController, obtained via > >> getMapController() from your MapView. > >> > >> -- > >> Mark Murphy (a Commons Guy) > >> http://commonsware.com | http://github.com/commonsguy > >> http://commonsware.com/blog | http://twitter.com/commonsguy > >> > >> Android 2.2 Programming Books: http://commonsware.com/books > >> > >> -- > >> 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]<android-developers%[email protected]> > >> For more options, visit this group at > >> http://groups.google.com/group/android-developers?hl=en > > > > > > -- > > > > A N K ! T...... > > > > > > -- > > 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]<android-developers%[email protected]> > > For more options, visit this group at > > http://groups.google.com/group/android-developers?hl=en > > > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com | http://github.com/commonsguy > http://commonsware.com/blog | http://twitter.com/commonsguy > > Android 2.2 Programming Books: http://commonsware.com/books > > -- > 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]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- A N K ! T...... -- 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

