zl25drexel wrote: > Hi, sorry i am sure this had been asked before, how do i find out my > current lat/lon using the location API?
You can't, per se. You can call getLastKnownLocation() to return, well, the last known location, but that may be null (if there have been no locations recorded for the requested location provider) or stale (if the location provider has been out of service for a while). Or, call requestLocationUpdates() and take action when you get new position fixes from the location provider. -- Mark Murphy (a Commons Guy) http://commonsware.com _The Busy Coder's Guide to Android Development_ Version 1.2 Published! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

