PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 2024 → [WM 23] GPSFollowMovement does not call specified procedure on Android
[WM 23] GPSFollowMovement does not call specified procedure on Android
Iniciado por Anthony BLANCHETTE-P, set., 09 2019 7:46 PM - 1 resposta
Membro registado
14 mensagems
Publicado em setembro, 09 2019 - 7:46 PM
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
Publicado em setembro, 09 2019 - 8:05 PM
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.