FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WINDEV Mobile 2024
→
Procedure timer running even if the Android app is minimized
Procedure timer running even if the Android app is minimized
Iniciado por Rogelio, 19,abr. 2018 07:05 - 2 respuestas
Conéctese…
Rogelio
#1
Publicado el 19,abril 2018 - 07:05
Hello there, i am building and android app and i have made a procedure that after is loaded will execute all the time after a define number of minutes. The procedure runs fine as long as the app is open and is active on the screen. but if you open another app so my app gose into the background then the procedure does not execute.
How can i ensure that this precedure executes even is the application is on the background ?
Thanks
Informar
0
0
Rubén Sánchez Peña
#2
Miembro registrado
797 mensajes
Popularité : +40 (42 votes)
Publicado el 09,mayo 2018 - 14:32
Hi. When an application goes into the background, its Activity stops. To continue running code you must create a Persistent Thread and put your code inside it. see the help.
Rubén
Informar
0
0
Rubén Sánchez Peña
#3
Miembro registrado
797 mensajes
Popularité : +40 (42 votes)
Publicado el 23,mayo 2018 - 07:50
You can use the new Task functions of WM23.
Rubén
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