Use getLastKnownLocation(). Be forewarned that there's no way to get a
fix on demand on most mobile phones. This is to conserve battery. Even
actual GPS devices can only give you periodic fixes, but at a finer
period than Android devices. Best you can get on Android is what's in
the Location object: position. service type, accuracy, timestamp.

-- 
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

Reply via email to