PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Enables the management of position tracking in a WINDEV Mobile application.
Example
// Enable the push notifications
geoTrackingEnable(ValidateTrackingActivation)
// Manage the recording
PROCEDURE ValidateTrackingActivation(bTrackingEnabled is boolean, cError is string)
IF NOT bTrackingEnabled THEN
Error(cError)
RETURN
END

STC_Loc = "Localization enabled"
Syntax
geoTrackingEnable(<Procedure Name>)
<Procedure Name>: Character string (with or without quotes)
Name of the WLanguage procedure called:
  • when the deactivation was performed,
  • if an error occurred:
    • iPhone/iPad activation request refused by the user.
    • Android erreur while accessing the Google Play Services.
This procedure has the following format:
PROCEDURE <Procedure Name>(<Tracking Enabled> is boolean, <Error> is string)
  • <Tracking Enabled> is a boolean indicating whether tracking is enabled (True) or not (False).
  • <Error> is a character string corresponding to the text of the activation error. This parameter is initialized only if <Tracking Enabled> is set to False.
Remarks
  • This function is asynchronous.
  • iPhone/iPad This function can be used only if localization rights have been granted to the application. These rights are enabled during the generation.
Related Examples:
WM Geo-localization Cross-platform examples (WINDEV Mobile): WM Geo-localization
[ + ] This example explains how to perform proximity searches with geolocalization:
- search around me
- search in a city, at a given address, or close to a specific address.
The results are displayed in a looper and in a map with markers.
Components
Windows Mobile wp230device.dll
Minimum required version
  • Version 21
Comments
Click [Add] to post a comment