PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV Mobile 2024 → BACKGROUND ACTVITY
BACKGROUND ACTVITY
Iniciado por iso96, 01,jun. 2022 12:05 - 4 respuestas
Miembro registrado
13 mensajes
Popularité : +1 (1 vote)
Publicado el 01,junio 2022 - 12:05
Hi

I have an app created in windev mobile 26. I need it to save its longitude and latitude coords in an HyperfileSQL database every 1 minute

which i can do fine apart from when the user opens another app or locks the screen after a couple of minutes it stops saving due to loosing connection, i have looked at backgroundtaskadd but this has a minimum interval time of 15 mins. I have thought about saving to local database then syncing when the connection is open again, but the customer wants to be able to see them in realtime.

How can i get the connection to remain open or automatically reconnect even when the app is in the background.

thanks

ISO
Miembro registrado
794 mensajes
Popularité : +40 (42 votes)
Publicado el 07,junio 2022 - 15:19
Hi, I'm not an expert in these matters, but have you tried this?

https://help.windev.com/en-US/…

Rubén
Miembro registrado
13 mensajes
Popularité : +1 (1 vote)
Publicado el 10,junio 2022 - 15:12
Thanks Ruben

that has solved half of my problem :)
Publicado el 24,junio 2022 - 14:27
Miembro registrado
2 mensajes
Publicado el 12,julio 2022 - 05:42
Thanks for sharing such a helpful instruction, really appreciate for your article.



https://www.mybalancenow.ltd/