FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WINDEV Mobile 2024
→
Strange Issue in Android only
Strange Issue in Android only
Iniciado por Jim, 07,jun. 2019 17:23 - 4 respuestas
Conéctese…
Jim
#1
Publicado el 07,junio 2019 - 17:23
I have an app that will connect to one of our many different units and download the onboard logs into a buffer. Then a procedure parses the data and displays it in a table.
If the data is downloaded once, the data table is filled in under 2 seconds. If the user decides to download them again for some reason, the procedure takes quite a while to run (20 seconds) and populate the data into the table. A couple of our units have 4000 records, and these take over a minute the second time.
I cannot see a reason for this big delay. It makes the app appear to have frozen, when it hasn't. In the emulator and IPhone the behavior does not happen, only on an Android device.
I have tried three different devices, two phones and a tablet.
Any suggestions?
Jim
Informar
0
0
WindevCol
#2
Publicado el 08,junio 2019 - 03:42
Have you tried to manage that process on a completely different thread than the main UI thread ? that is what i would do..
Informar
0
0
Jim
#3
Publicado el 10,junio 2019 - 19:42
Thanks, I am going to try that.
The problem actually got worse after trying to make the Android version more like the IOS version.
There is a clue in there somewhere.
Previously I have the download log on its own window. When changing to different units it was fine the first download for a new unit. In IOS I had to change it to make the entire app in one window. When I changed the Android app to all one window, switching from unit to unit still has the big delay even the first time on a unit unless the app was just opened.
I have not used threads, but the boss has. I think we can solve this.
Thanks
Jim
Informar
0
0
Jim
#4
Publicado el 14,junio 2019 - 17:53
Well I am happy to report that this worked. Why I don't know, but it did.
Thanks
Jim
Informar
0
0
WindevCol
#5
Publicado el 16,junio 2019 - 14:01
I am happy that my advice helped you solve the issue, i wish you the best in your development projects.
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