FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
[WM23] Doesn't execute closing project
[WM23] Doesn't execute closing project
Débuté par ARV, 24 aoû. 2018 16:07 - 2 réponses
Connectez-vous…
ARV
#1
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 24 août 2018 - 16:07
Hi
Like the title of the subject said, on my android Samsung Galaxy J2 pro, when I have my app runing if I press the button that show all of the apps running on that time and then I select close everything my code of closing project (if my app was running on that time) it doesn't execute, but if I press back until my app reach the first window of the project and close then it execute my code
this part of my code it's very important it ends some important functions that I need to execute and updated my server DB, anyone have the same problem?
Do I have to activated some function?
is it there a way to execute this event when the user close the app from that way?
Thanks!
--
Best Regards
Jose
Signaler
0
0
Fabrice Harari
#2
Posté le 24 août 2018 - 16:34
Hi Jose
AFAIK, that is not a close operation done from inside the program, it's
a FORCE close/KILL done externally (by the OS), so no...
However, what you CAN do is use the code area "when going in the
background" that is executed each time your app is loosing the display
to another app or the OS...
Be aware that it will probably not be executed when there is a Force
close/kill, too
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
Free Video Courses, free WXShowroom.com, open source WXReplication, open
source WXEDM.
More information on
http://www.fabriceharari.com
On 8/24/2018 8:07 AM, Jose wrote:
Hi
Like the title of the subject said, on my android Samsung Galaxy J2 pro,
when I have my app runing if I press the button that show all of the
apps running on that time and then I select close everything my code of
closing project (if my app was running on that time) it doesn't execute,
but if I press back until my app reach the first window of the project
and close then it execute my code
this part of my code it's very important it ends some important
functions that I need to execute and updated my server DB, anyone have
the same problem? Do I have to activated some function?
is it there a way to execute this event when the user close the app from
that way?
Thanks!
--
Best Regards
Jose
Signaler
0
0
ARV
#3
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 24 août 2018 - 17:07
Hi Fabrice
Thanks for the reply!
I see... I will considering using that option instead.
on background updated my server DB of the device it's off and then when it's on foreground change it like actived again maybe like that could help only if I don't use the same event for another thing.
Thanks for the idea!
--
Best Regards
Jose
Signaler
0
0
→ Revenir à WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte