title: Android: using requestSingleUpdate or replace it
body: <p>i'm working on app, which must get latitude and longitude. in my case <code>requestLocationUpdates (String provider, long minTime, float minDistance, LocationListener listener)</code> is not in option. why? because i must get location just when user do something that location is needed (let's say he hits button). and i need location exactly on the time, when button is hit. in <code>requestLocationUpdates</code>, we can set minTime-if i set this let's say on 30000 the location at the "button hit time" won't be as good as i want. of the same reason minDistance is also not as good as i want. if i understant function <code>requestLocationUpdates</code> correct-when minTime and minDistance are set to 0, location is updating all the time. please correct me if i'm wrong. app is for company that i'm working at and that app will be used through the day and night. so if app will check for location updates all the time, battery would be often empty. thst's why i need location just at the time, that button is hit. i found <a href="http://developer.android.com/reference/android/location/LocationManager.html#requestSingleUpdate%28java.lang.String,%20android.location.LocationListener,%20android.os.Looper%29" rel="nofollow">requestSingleUpdate</a> function. but i can't use it in eclipse =( like it doesn't exists.<br>
  is there some other way to do this or am i missing something?</p>