Client program for an advertising company. A person glues himself a sticker on the glass and rolls around with it in the city advertising something. There is a condition: the advertiser pays only for the claim within the city. So, is it possible to implement a check on the android, is the person inside the city or not?
Kilometer should be considered only if the object moves inside the city. I need to know how many miles he drove through the city. And do not turn off the GPS itself, but make a check if the object has left the city - he will not consider the mileage until he returns to it ....
How to implement such a check programmatically?