android - How to measure the shortest distance between two geological points? -


how measure shortest distance between 2 geological points? got(location.todistance() , manually made equation) , gives longest distance. suppose trying distance dhaka new delhi, earth round, there can 2 distances--one 1 side, , other side. getting biggest one. how can shortest one?

this should out. location class in android has distancebetween , distanceto method.


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -