SyntaxFix
Write A Post
Hire A Developer
Questions
private float getDistance(double lat1, double lon1, double lat2, double lon2) { float[] distance = new float[2]; Location.distanceBetween(lat1, lon1, lat2, lon2, distance); return distance[0]; }