Android Question Live location of user

Almog

Active Member
Licensed User
Hello,

I just discovered an option for anyone to share his live realtime location with google maps app https://support.google.com/maps/answer/7326816?co=GENIE.Platform=Android&hl=en

Does anybody know if there is an option to get the user only to accept the location sharing(so the user don't need to open the app, click this option, add people - the app will set the parameters and the user will only need to accept that)?

And if not, does anybody have an advice to how to get the live location of the user? (Maybe with some API?) ?

Thanks in advance...
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

Almog

Active Member
Licensed User
Use GPS. A Event is raised when the Position changes.
Thank you DonManfred!

Do you know a way to share/send the location (got from an event raised when the Position changes) to another device, without a server (for the other device to get your location)?

Thanks in advance
 
Upvote 0
Top