Android Question GPS GEO ZONE

Danbicky

Member
Licensed User
Longtime User
Erel and experts

The GPS example from Erel is great, lets say I want a 1 mile radius from my home position, and to raise some form of alert if my phone goes outside of this, how is this achieved in code? Like a Geo Zone!

Does anyone have some simple code examples to start me on this journey. I had a phone stolen some time back, something like this would be brilliant, this could be added as a service to post to an MQTT broker in the background once outside of the GEO Zone radius.

Help would be greatly appreciated.

Big thanks

Dans
 
Top