i am able to find distance between two geolocation by two Location objects
here is below
mLoc.distanceTo(mLocTarget)
mLoc is current user Location and mLocTarget is target location of android
now i want to find direction also means like
16m. West or 16m. North is it possible?
getBearing() returns the instantaneous bearing, but for between to points use:
public float bearingTo (Location dest)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With