|
|
|
|
|
- Retrieved properties
- Notes
- Required application feature
GPSFollowMovement (Function) In french: GPSSuitDéplacement Requests to be notified periodically of the device's current location. // Enables a procedure to receive the device's location at regular intervals GPSFollowMovement(MovementProc)
// Procedure PROCEDURE MovementProc(pos is geoPosition) Â Info(" Latitude: " + pos.Latitude) Â Info(" Longitude: " + pos.Longitude) Syntax
Disabling the notification mechanism
GPSFollowMovement()
Remarks Caution: Android 12 specific case: To execute the procedure called by GPSFollowMovement when the application is in the background, it is necessary to run a persistent thread ( ThreadPersistent).
Related Examples:
|
Android (WINDEV Mobile): Android GPS
[ + ] This example presents the use of the GPS functions of WLanguage in an Android application. It is used to retrieve at regular interval: - The latitude - The longitude - The altitude - The speed - The direction
|
|
Cross-platform examples (WINDEV Mobile): WM Sports
[ + ] This example is a sport application used to save your performances. The application calculates the distance, the time, the average speed and the number of calories spent according to the sport. The run is displayed on a map control via markers and an itinerary. The example also includes a server part used to synchronize the user data. This webservice is available in the WEBDEV "WW_Sports" example.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|