FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WINDEV Mobile 2024
→
[WM23] Doesn't execute closing project
[WM23] Doesn't execute closing project
Iniciado por ARV, 24,ago. 2018 16:07 - 2 respuestas
Conéctese…
ARV
#1
Miembro registrado
498 mensajes
Popularité : +8 (8 votes)
Publicado el 24,agosto 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
Informar
0
0
Fabrice Harari
#2
Publicado el 24,agosto 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
Informar
0
0
ARV
#3
Miembro registrado
498 mensajes
Popularité : +8 (8 votes)
Publicado el 24,agosto 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
Informar
0
0
→ Volver a WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto