Hi everyone,
I working on mobile platform now. I want to use get current location for android tablet. I Try this code but platform give an error "Coordinates" and "GpsProvider.Name". How i fix this problem?
Code |
---|
#If MobileAppClient Then GpsProvider = LocationTools.GetProvider("network"); GLocation = LocationTools.GetLastLocation(GpsProvider.Name); Message(String(GLocation.Coordinates.Latitude)); #EndIf |