How to measure the shortest distance between two geological points? All that I got(Location.toDistance() , manually made equation) , gives the longest distance. Suppose I am trying to get the distance from dhaka to new delhi, as the earth is round, There can be two distances--one from one side, and another from the other side. I am getting only the biggest one. How can I get the shortest one?
Asked
Active
Viewed 432 times
0

Md Razon Hossain
- 141
- 1
- 12
1 Answers
0
This should help out. The Location class in Android also has a distanceBetween and distanceTo method.