java - Do action when user crosses 2km distance from current location -



java - Do action when user crosses 2km distance from current location -

i want method gets lon , lat , should homecoming true when user under 2km location using lon , lat fixed..but dont know how implement can 1 give idea

google has feature called geofencing. there on sample app. utilize feature caution because can drain battery.

java android methods

Comments