Hi,
you don't have to "calculate" speed ...
... starting from, if I remember, LiveCode 6.1, you have "speed" (and "course") included in Location info. From old iOS release notes :

"Location -- a comma separated list of the latitude, longitude and altitude of the device. If detailed is true an array containing the keys latitude, longitude, altitude, time stamp, horizontal accuracy, vertical accuracy, speed and course is returned. If the latitude and longitude could not be measured, those values together with the horizontal accuracy key will not be present. If the altitude could not be measured, that value together with the vertical accuracy will not be present."

Hope this help.

Guglielmo


Nakia Brewer <mailto:[email protected]>
7 Feb 2014 04:08 am
Hi,

Just wondering if anyone has done anything with an in App contained way of calculating speed with the available outputs from mobile location feature on iOS? This App may be used in places without internet coverage so calling to the google API etc is a no go.

Appreciate any thoughts..






COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications.

_______________________________________________
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

Reply via email to