Any one can teach me how to make attendance, with the rules that it can be accessed if the user's location is within a radius of 10 meters from the specified location.
thanks
Taifun
November 30, 2023, 3:18am
2
SteveJG
November 30, 2023, 2:36pm
3
Currently the community search function is not working to find ring fenced. Try ringed fence
Hi, I’m trying to make an app which tells me when I reach a certain destination but I want it to have a small tolerance - you don’t need to reach the point exactly, you just need to be near to it.
But it is not working. It always shows “5”
[Snímka obrazovky (43)] [Snímka obrazovky (44)]
OK. What you want to do is create a circular ringed fence Location sensor (ringed fence / circular ringed fence) . In principle, it is possible to determine if an Android is within a circle of a certain radius using the LocationSensor. In practice it probably is not possible to determine with certainty the person is within a relatively small diameter circle.
To determine if 'if someone want to attand...he have to go to place in a radius of office coordinate' is going to be a problem. Why?
…
You can also continuously calculate your distance to a particular location like this Calculer la distance entre son domicile et un point donnée dans une textbox - #2 by SteveJG . When the calculated distance is less than 10 meters, you are there You could use a Clock or the LocationChanged event to trigger your calculation.