Livecode Wiki

Returns true if the device can track the location using GPS, false otherwise.Syntax:

mobileCanTrackLocation()

Examples:

get mobileCanTrackLocation()
if mobileCanTrackLocation() is "true" then 
  answer "The location can be tracked"
end if

Use the mobileCanTrackLocation function to check whether the device has the necessary hardware support for tracking the location using GPS.

See also: mobileStartTrackingSensor (command),mobileSensorReading (function),mobileCurrentLocation (function),trackingError (message),locationChanged (message),