I am developing an android app in which user can know distance between him and other users. I am using tomtom location api for this. I just want to know how to get the distance between current user and other user while i have latitude and longitude of both of them ?
Thanks in advance
If you already have coordinates of both users then you can calculate using below function. Answer is from SO thread here.