Android Question Can I get the Android Current Location?

Levisvv

Member
Licensed User
Longtime User
Android keeps track of a device's location (whether GPS is in use or not).
Is there a way of getting the device's current location easily?

Also (this should be harder) are there routines for determining how close the current device is to a specified location?
i.e.: if I get a location of a small city (like say Burnaby, BC Canada) and I want to know if the current location is closer to Vancouver or to Surrey, are there any routines or libraries for this?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…