[Solved] Android | Java | check if in GPS Android i passed specific location [closed]

[ad_1]

I think you can refer the Location API to calculate the distance between your current location and another one.

http://developer.android.com/reference/android/location/Location.html

I think you can one of these methods:

public static void distanceBetween (double startLatitude, double startLongitude, double endLatitude, double endLongitude, float[] results)

public float distanceTo (Location dest)

1

[ad_2]

solved Android | Java | check if in GPS Android i passed specific location [closed]