PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → [WM 23] GPSFollowMovement does not call specified procedure on Android
[WM 23] GPSFollowMovement does not call specified procedure on Android
Débuté par Anthony BLANCHETTE-P, 09 sep. 2019 19:46 - 1 réponse
Membre enregistré
14 messages
Posté le 09 septembre 2019 - 19:46
Hi,

I am developping an Android application in which I need to update the device's position regularly. To do so, I am using the GPSFollowMovement function in which I specify a procedure named UpdateCurrentPosition. This procedure simply manage the position's update. I am initializing the GPS using the GPSInitParameter function.

The problem is that the UpdateCurrentPosition procedure is not being call. There is no runtime error or exception and I made sure that the high precision localisation is active and that the device is not in energy saving mode. But, nothing has changed.

GPSFollowMovement call :





UpdateCurrentPosition procedure definition :





GPSInitParameter call :





Thank you.

--
Anthony
Posté le 09 septembre 2019 - 20:05
Hi,

I just tried the Android GPS example by PC SOFT on two different devices and is does not work at all.

If you have any idea of where this problem comes from, it would be very appreciated to read your solutions.

Thank you.