PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 27 → BACKGROUND ACTVITY
BACKGROUND ACTVITY
Iniciado por iso96, jun., 01 2022 12:05 PM - 4 respostas
Membro registado
12 mensagems
Popularité : +1 (1 vote)
Publicado em junho, 01 2022 - 12:05 PM
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
Membro registado
610 mensagems
Popularité : +40 (42 votes)
Publicado em junho, 07 2022 - 3:19 PM
Hi, I'm not an expert in these matters, but have you tried this?

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

Rubén
Membro registado
12 mensagems
Popularité : +1 (1 vote)
Publicado em junho, 10 2022 - 3:12 PM
Thanks Ruben

that has solved half of my problem :)
Publicado em junho, 24 2022 - 2:27 PM
Membro registado
2 mensagems
Publicado em julho, 12 2022 - 5:42 AM
Thanks for sharing such a helpful instruction, really appreciate for your article.



https://www.mybalancenow.ltd/