mobileLocationAuthorizationStatus() will tell you if the OS app setting will
allow location tracking
mobileSensorAvailable("location") will tell you if there is a location sensor
mobileStartTrackingSensor "Location", [true|false] will start the tracking.
mobileSensorReading("location", [true|false]) will return an array of the
current location. If the latitude or longitude is zero then the GPS is not yet
locked
Ralph DiMola
IT Director
Evergreen Information Services
[email protected]
-----Original Message-----
From: use-livecode [mailto:[email protected]] On Behalf Of
Graham Samuel via use-livecode
Sent: Friday, April 03, 2020 11:18 AM
To: How to use LiveCode
Cc: Graham Samuel
Subject: Getting started with geographical coordinates
Hi
I am reviving my LiveCode skills in these troubled times, and I want to do
something that involves the location of a device using GPS. A very rapid
(obviously too rapid) search of the documentation finds commands like
iphoneStartTrackingLocation, but no link to a description of how one reads the
actual geographical coordinates or what form they take. There is a reference to
CoreLocation, but that hasn’t got a dictionary entry.
Can anyone point me in the right direction. Sorry if it’s obvious.
Thanks in advance
Graham
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode