1Location startPoint=new Location("locationA");
2startPoint.setLatitude(17.372102);
3startPoint.setLongitude(78.484196);
4
5Location endPoint=new Location("locationA");
6endPoint.setLatitude(17.375775);
7endPoint.setLongitude(78.469218);
8
9double distance=startPoint.distanceTo(endPoint);