I am new to android. I have learned about MyLocationOverlay. It can get user location and draw a blue point on that location. I want to get user location and send it to server. Is it possible by using MyLocationOverlay to get user location. If it is, then is this a right way of getting user location using MyLocationOverlay…???
Share
Yes, you can call
getMyLocation(). However, as withgetLastKnownLocation()onLocationManager, this may benull.Personally, I would rather use
LocationManagerdirectly, so I have more control over how that location is determined.