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