1

Android LocationManager.getLastKnownLocation()

view story
linux-howto

http://stackoverflow.com – From android documentation LocationManager.getLastKnownLocation(): Returns a Location indicating the data from the last known location fix obtained from the given provider. Note that this location could be out-of-date, for example if the device was turned off and moved to another location. How often provider updates device location ? How its works ? The reason why I asking is that I dont want to use locationListener, I just need to get current geo location on button click, and thats it. Can I just do like this ? final LocationManager mlocManager = (LocationManager) getActivity( (HowTos)