PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → BACKGROUND ACTVITY
BACKGROUND ACTVITY
Débuté par iso96, 01 juin 2022 12:05 - 4 réponses
Membre enregistré
13 messages
Popularité : +1 (1 vote)
Posté le 01 juin 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
Membre enregistré
796 messages
Popularité : +40 (42 votes)
Posté le 07 juin 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
Membre enregistré
13 messages
Popularité : +1 (1 vote)
Posté le 10 juin 2022 - 15:12
Thanks Ruben

that has solved half of my problem :)
Posté le 24 juin 2022 - 14:27
Membre enregistré
2 messages
Posté le 12 juillet 2022 - 05:42
Thanks for sharing such a helpful instruction, really appreciate for your article.



https://www.mybalancenow.ltd/